mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix regression
This commit is contained in:
parent
f1e6d4b7d6
commit
a75a791620
|
|
@ -48,8 +48,11 @@ if (!defined('NOREQUIREAJAX')) {
|
|||
* @var HookManager $hookmanager
|
||||
* @var Translate $langs
|
||||
* @var User $user
|
||||
*
|
||||
* @var string $module
|
||||
* @var string $mode
|
||||
*/
|
||||
$module = '';
|
||||
|
||||
if (!isset($mode) || $mode != 'noajax') { // For ajax call
|
||||
require_once '../../main.inc.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user