#11926 Fixed requires

This commit is contained in:
Daniel Maya 2023-08-22 12:41:30 +02:00
parent 4ea18a1530
commit aa39f2eac2
1 changed files with 6 additions and 12 deletions

View File

@ -26,20 +26,14 @@
* ============================================================================
*/
/*
require_once $config['homedir'].'/include/config.php';
require_once $config['homedir'].'/include/functions_reporting.php';
require_once $config['homedir'].'/include/functions_modules.php';
*/
require_once '../include/config.php';
require_once '../include/functions_agents.php';
require_once '../include/functions_reporting.php';
require_once '../include/functions_modules.php';
require_once '../include/functions_users.php';
global $config;
require_once $config['homedir'].'/include/config.php';
require_once $config['homedir'].'/include/functions_agents.php';
require_once $config['homedir'].'/include/functions_reporting.php';
require_once $config['homedir'].'/include/functions_modules.php';
require_once $config['homedir'].'/include/functions_users.php';
check_login();
// ACL Check.