according to new tree directory
This commit is contained in:
parent
b68a359265
commit
24725ce2a6
@ -1069,7 +1069,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
$text=$langs->trans('ConfirmValidateProp',$numref);
|
$text=$langs->trans('ConfirmValidateProp',$numref);
|
||||||
if ($conf->notification->enabled)
|
if ($conf->notification->enabled)
|
||||||
{
|
{
|
||||||
require_once(DOL_DOCUMENT_ROOT ."/core/notify.class.php");
|
require_once(DOL_DOCUMENT_ROOT ."/core/class/notify.class.php");
|
||||||
$notify=new Notify($db);
|
$notify=new Notify($db);
|
||||||
$text.='<br>';
|
$text.='<br>';
|
||||||
$text.=$notify->confirmMessage('NOTIFY_VAL_PROPAL',$propal->socid);
|
$text.=$notify->confirmMessage('NOTIFY_VAL_PROPAL',$propal->socid);
|
||||||
|
|||||||
@ -25,7 +25,7 @@
|
|||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
include_once DOL_DOCUMENT_ROOT . "/core/stats.class.php";
|
include_once DOL_DOCUMENT_ROOT . "/core/class/stats.class.php";
|
||||||
include_once DOL_DOCUMENT_ROOT . "/comm/propal/propal.class.php";
|
include_once DOL_DOCUMENT_ROOT . "/comm/propal/propal.class.php";
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1369,7 +1369,7 @@ else
|
|||||||
$text=$langs->trans('ConfirmValidateOrder',$numref);
|
$text=$langs->trans('ConfirmValidateOrder',$numref);
|
||||||
if ($conf->notification->enabled)
|
if ($conf->notification->enabled)
|
||||||
{
|
{
|
||||||
require_once(DOL_DOCUMENT_ROOT ."/core/notify.class.php");
|
require_once(DOL_DOCUMENT_ROOT ."/core/class/notify.class.php");
|
||||||
$notify=new Notify($db);
|
$notify=new Notify($db);
|
||||||
$text.='<br>';
|
$text.='<br>';
|
||||||
$text.=$notify->confirmMessage('NOTIFY_VAL_ORDER',$commande->socid);
|
$text.=$notify->confirmMessage('NOTIFY_VAL_ORDER',$commande->socid);
|
||||||
|
|||||||
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
require("../main.inc.php");
|
require("../main.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/html.formfile.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/html.formfile.class.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT ."/core/notify.class.php");
|
require_once(DOL_DOCUMENT_ROOT ."/core/class/notify.class.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT ."/commande/class/commande.class.php");
|
require_once(DOL_DOCUMENT_ROOT ."/commande/class/commande.class.php");
|
||||||
|
|
||||||
if (!$user->rights->commande->lire) accessforbidden();
|
if (!$user->rights->commande->lire) accessforbidden();
|
||||||
|
|||||||
@ -24,7 +24,7 @@
|
|||||||
* \brief Fichier de la classe de gestion des stats des commandes
|
* \brief Fichier de la classe de gestion des stats des commandes
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
include_once DOL_DOCUMENT_ROOT . "/core/stats.class.php";
|
include_once DOL_DOCUMENT_ROOT . "/core/class/stats.class.php";
|
||||||
include_once DOL_DOCUMENT_ROOT . "/commande/class/commande.class.php";
|
include_once DOL_DOCUMENT_ROOT . "/commande/class/commande.class.php";
|
||||||
include_once DOL_DOCUMENT_ROOT . "/fourn/fournisseur.commande.class.php";
|
include_once DOL_DOCUMENT_ROOT . "/fourn/fournisseur.commande.class.php";
|
||||||
|
|
||||||
|
|||||||
@ -24,7 +24,7 @@
|
|||||||
* \brief Fichier de la classe de gestion des stats des deplacement et notes de frais
|
* \brief Fichier de la classe de gestion des stats des deplacement et notes de frais
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
include_once DOL_DOCUMENT_ROOT . "/core/stats.class.php";
|
include_once DOL_DOCUMENT_ROOT . "/core/class/stats.class.php";
|
||||||
include_once DOL_DOCUMENT_ROOT . "/compta/deplacement/class/deplacement.class.php";
|
include_once DOL_DOCUMENT_ROOT . "/compta/deplacement/class/deplacement.class.php";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2214,7 +2214,7 @@ else
|
|||||||
$text=$langs->trans('ConfirmValidateBill',$numref);
|
$text=$langs->trans('ConfirmValidateBill',$numref);
|
||||||
if ($conf->notification->enabled)
|
if ($conf->notification->enabled)
|
||||||
{
|
{
|
||||||
require_once(DOL_DOCUMENT_ROOT ."/core/notify.class.php");
|
require_once(DOL_DOCUMENT_ROOT ."/core/class/notify.class.php");
|
||||||
$notify=new Notify($db);
|
$notify=new Notify($db);
|
||||||
$text.='<br>';
|
$text.='<br>';
|
||||||
$text.=$notify->confirmMessage('NOTIFY_VAL_FAC',$fac->socid);
|
$text.=$notify->confirmMessage('NOTIFY_VAL_FAC',$fac->socid);
|
||||||
|
|||||||
@ -26,7 +26,7 @@
|
|||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once(DOL_DOCUMENT_ROOT."/core/notify.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/core/class/notify.class.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/product/product.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/product/product.class.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php");
|
||||||
|
|
||||||
|
|||||||
@ -24,7 +24,7 @@
|
|||||||
* \brief Fichier de la classe de gestion des stats des factures
|
* \brief Fichier de la classe de gestion des stats des factures
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
include_once DOL_DOCUMENT_ROOT . "/core/stats.class.php";
|
include_once DOL_DOCUMENT_ROOT . "/core/class/stats.class.php";
|
||||||
include_once DOL_DOCUMENT_ROOT . "/compta/facture/class/facture.class.php";
|
include_once DOL_DOCUMENT_ROOT . "/compta/facture/class/facture.class.php";
|
||||||
include_once DOL_DOCUMENT_ROOT . "/fourn/fournisseur.facture.class.php";
|
include_once DOL_DOCUMENT_ROOT . "/fourn/fournisseur.facture.class.php";
|
||||||
|
|
||||||
|
|||||||
@ -577,7 +577,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
$text=$langs->trans('ConfirmValidateOrder',$newref);
|
$text=$langs->trans('ConfirmValidateOrder',$newref);
|
||||||
if ($conf->notification->enabled)
|
if ($conf->notification->enabled)
|
||||||
{
|
{
|
||||||
require_once(DOL_DOCUMENT_ROOT ."/core/notify.class.php");
|
require_once(DOL_DOCUMENT_ROOT ."/core/class/notify.class.php");
|
||||||
$notify=new Notify($db);
|
$notify=new Notify($db);
|
||||||
$text.='<br>';
|
$text.='<br>';
|
||||||
$text.=$notify->confirmMessage(3,$commande->socid);
|
$text.=$notify->confirmMessage(3,$commande->socid);
|
||||||
|
|||||||
@ -97,7 +97,7 @@ class InterfaceNotification
|
|||||||
// Si module notification non actif, on ne fait rien
|
// Si module notification non actif, on ne fait rien
|
||||||
if (! $conf->notification->enabled) return 0;
|
if (! $conf->notification->enabled) return 0;
|
||||||
|
|
||||||
require_once(DOL_DOCUMENT_ROOT .'/core/notify.class.php');
|
require_once(DOL_DOCUMENT_ROOT .'/core/class/notify.class.php');
|
||||||
|
|
||||||
if ($action == 'BILL_VALIDATE')
|
if ($action == 'BILL_VALIDATE')
|
||||||
{
|
{
|
||||||
|
|||||||
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
define('DOL_VERSION','2.9.0-dev'); // Also defined in htdocs/master.inc.php
|
define('DOL_VERSION','2.9.0-dev'); // Also defined in htdocs/master.inc.php
|
||||||
|
|
||||||
require_once('../core/translate.class.php');
|
require_once('../core/class/translate.class.php');
|
||||||
require_once('../lib/functions.lib.php');
|
require_once('../lib/functions.lib.php');
|
||||||
require_once('../lib/admin.lib.php');
|
require_once('../lib/admin.lib.php');
|
||||||
require_once('../lib/files.lib.php');
|
require_once('../lib/files.lib.php');
|
||||||
|
|||||||
@ -1801,7 +1801,7 @@ function accessforbidden($message='',$printheader=1,$printfooter=1,$showonlymess
|
|||||||
global $conf, $db, $user, $langs;
|
global $conf, $db, $user, $langs;
|
||||||
if (! is_object($langs))
|
if (! is_object($langs))
|
||||||
{
|
{
|
||||||
include_once(DOL_DOCUMENT_ROOT.'/core/translate.class.php');
|
include_once(DOL_DOCUMENT_ROOT.'/core/class/translate.class.php');
|
||||||
$langs=new Translate('',$conf);
|
$langs=new Translate('',$conf);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1857,7 +1857,7 @@ function dol_print_error($db='',$error='')
|
|||||||
// Si erreur intervenue avant chargement langue
|
// Si erreur intervenue avant chargement langue
|
||||||
if (! $langs)
|
if (! $langs)
|
||||||
{
|
{
|
||||||
require_once(DOL_DOCUMENT_ROOT ."/core/translate.class.php");
|
require_once(DOL_DOCUMENT_ROOT ."/core/class/translate.class.php");
|
||||||
$langs = new Translate("", $conf);
|
$langs = new Translate("", $conf);
|
||||||
$langs->load("main");
|
$langs->load("main");
|
||||||
}
|
}
|
||||||
|
|||||||
@ -217,7 +217,7 @@ if (isset($_SERVER["HTTP_USER_AGENT"]))
|
|||||||
|
|
||||||
// Chargement des includes principaux de librairies communes
|
// Chargement des includes principaux de librairies communes
|
||||||
if (! defined('NOREQUIREUSER')) require_once(DOL_DOCUMENT_ROOT ."/user/user.class.php"); // Need 500ko memory
|
if (! defined('NOREQUIREUSER')) require_once(DOL_DOCUMENT_ROOT ."/user/user.class.php"); // Need 500ko memory
|
||||||
if (! defined('NOREQUIRETRAN')) require_once(DOL_DOCUMENT_ROOT ."/core/translate.class.php");
|
if (! defined('NOREQUIRETRAN')) require_once(DOL_DOCUMENT_ROOT ."/core/class/translate.class.php");
|
||||||
if (! defined('NOREQUIRESOC')) require_once(DOL_DOCUMENT_ROOT ."/societe/societe.class.php");
|
if (! defined('NOREQUIRESOC')) require_once(DOL_DOCUMENT_ROOT ."/societe/societe.class.php");
|
||||||
if (! defined('NOREQUIREDB')) require_once(DOL_DOCUMENT_ROOT ."/lib/databases/".$conf->db->type.".lib.php");
|
if (! defined('NOREQUIREDB')) require_once(DOL_DOCUMENT_ROOT ."/lib/databases/".$conf->db->type.".lib.php");
|
||||||
|
|
||||||
|
|||||||
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
define('DOL_VERSION','2.5-dev'); // Also defined in htdocs/master.inc.php
|
define('DOL_VERSION','2.5-dev'); // Also defined in htdocs/master.inc.php
|
||||||
|
|
||||||
require_once('../core/translate.class.php');
|
require_once('../core/class/translate.class.php');
|
||||||
require_once('../lib/functions.lib.php');
|
require_once('../lib/functions.lib.php');
|
||||||
require_once('../lib/admin.lib.php');
|
require_once('../lib/admin.lib.php');
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user