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);
|
||||
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);
|
||||
$text.='<br>';
|
||||
$text.=$notify->confirmMessage('NOTIFY_VAL_PROPAL',$propal->socid);
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
* \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";
|
||||
|
||||
|
||||
|
||||
@ -1369,7 +1369,7 @@ else
|
||||
$text=$langs->trans('ConfirmValidateOrder',$numref);
|
||||
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);
|
||||
$text.='<br>';
|
||||
$text.=$notify->confirmMessage('NOTIFY_VAL_ORDER',$commande->socid);
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
|
||||
require("../main.inc.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");
|
||||
|
||||
if (!$user->rights->commande->lire) accessforbidden();
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
* \brief Fichier de la classe de gestion des stats des commandes
|
||||
* \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 . "/fourn/fournisseur.commande.class.php";
|
||||
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
* \brief Fichier de la classe de gestion des stats des deplacement et notes de frais
|
||||
* \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";
|
||||
|
||||
/**
|
||||
|
||||
@ -2214,7 +2214,7 @@ else
|
||||
$text=$langs->trans('ConfirmValidateBill',$numref);
|
||||
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);
|
||||
$text.='<br>';
|
||||
$text.=$notify->confirmMessage('NOTIFY_VAL_FAC',$fac->socid);
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
* \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."/compta/facture/class/facture.class.php");
|
||||
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
* \brief Fichier de la classe de gestion des stats des factures
|
||||
* \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 . "/fourn/fournisseur.facture.class.php";
|
||||
|
||||
|
||||
@ -577,7 +577,7 @@ if ($id > 0 || ! empty($ref))
|
||||
$text=$langs->trans('ConfirmValidateOrder',$newref);
|
||||
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);
|
||||
$text.='<br>';
|
||||
$text.=$notify->confirmMessage(3,$commande->socid);
|
||||
|
||||
@ -97,7 +97,7 @@ class InterfaceNotification
|
||||
// Si module notification non actif, on ne fait rien
|
||||
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')
|
||||
{
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
|
||||
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/admin.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;
|
||||
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);
|
||||
}
|
||||
|
||||
@ -1857,7 +1857,7 @@ function dol_print_error($db='',$error='')
|
||||
// Si erreur intervenue avant chargement langue
|
||||
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->load("main");
|
||||
}
|
||||
|
||||
@ -217,7 +217,7 @@ if (isset($_SERVER["HTTP_USER_AGENT"]))
|
||||
|
||||
// Chargement des includes principaux de librairies communes
|
||||
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('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
|
||||
|
||||
require_once('../core/translate.class.php');
|
||||
require_once('../core/class/translate.class.php');
|
||||
require_once('../lib/functions.lib.php');
|
||||
require_once('../lib/admin.lib.php');
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user