2
0
forked from Wavyzz/dolibarr

move translate.class.php to core directory

This commit is contained in:
Philippe Grand
2010-04-13 14:23:31 +00:00
parent 684e6bc63c
commit e5a5c2ae98
5 changed files with 5 additions and 5 deletions

View File

@@ -1793,7 +1793,7 @@ function accessforbidden($message='',$printheader=1,$printfooter=1,$showonlymess
global $conf, $db, $user, $langs;
if (! is_object($langs))
{
include_once(DOL_DOCUMENT_ROOT.'/translate.class.php');
include_once(DOL_DOCUMENT_ROOT.'/core/translate.class.php');
$langs=new Translate('',$conf);
}
@@ -1849,7 +1849,7 @@ function dol_print_error($db='',$error='')
// Si erreur intervenue avant chargement langue
if (! $langs)
{
require_once(DOL_DOCUMENT_ROOT ."/translate.class.php");
require_once(DOL_DOCUMENT_ROOT ."/core/translate.class.php");
$langs = new Translate("", $conf);
$langs->load("main");
}