Merge pull request #32276 from frederic34/patch-11

fix phpstan
This commit is contained in:
Laurent Destailleur 2024-12-08 10:23:24 +01:00 committed by GitHub
commit 6d20ecd0ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,7 +39,12 @@ if (!defined('NOIPCHECK')) {
// Load Dolibarr environment
require '../../main.inc.php';
require_once '../../core/lib/functions2.lib.php';
/**
* @var Conf $conf
* @var DoliDB $db
* @var HookManager $hookmanager
* @var Translate $langs
*/
$langs->loadLangs(array("main", "install", "other"));
$conf->dol_hide_topmenu = GETPOSTINT('dol_hide_topmenu');