mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix bad constructor
This commit is contained in:
parent
346bf7bdd6
commit
400d400b32
|
|
@ -174,7 +174,7 @@ if (preg_match('/install\.lock/i',$_SERVER["SCRIPT_FILENAME"]))
|
|||
{
|
||||
if (! is_object($langs))
|
||||
{
|
||||
$langs = new Translate('..');
|
||||
$langs = new Translate('..', $conf);
|
||||
$langs->setDefaultLang('auto');
|
||||
}
|
||||
$langs->load("install");
|
||||
|
|
@ -198,7 +198,7 @@ if (@file_exists($lockfile))
|
|||
{
|
||||
if (! is_object($langs))
|
||||
{
|
||||
$langs = new Translate('..');
|
||||
$langs = new Translate('..', $conf);
|
||||
$langs->setDefaultLang('auto');
|
||||
}
|
||||
$langs->load("install");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user