Fix missing loading lang
This commit is contained in:
parent
453466f23f
commit
fba3970835
@ -50,6 +50,8 @@ class Utils
|
|||||||
{
|
{
|
||||||
global $conf, $langs, $dolibarr_main_data_root;
|
global $conf, $langs, $dolibarr_main_data_root;
|
||||||
|
|
||||||
|
$langs->load("admin");
|
||||||
|
|
||||||
dol_syslog("Utils::purgeFiles choice=".$choice, LOG_DEBUG);
|
dol_syslog("Utils::purgeFiles choice=".$choice, LOG_DEBUG);
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user