Fix if else
This commit is contained in:
parent
0cff0b22d0
commit
c77686807f
|
@ -27,17 +27,18 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
global $config;
|
global $config;
|
||||||
if (true) {
|
if ((bool) $config['metaconsole']) {
|
||||||
include_once '../include/config.php';
|
|
||||||
include_once '../include/functions_agents.php';
|
|
||||||
include_once '../include/functions_reporting.php';
|
|
||||||
include_once '../include/functions_modules.php';
|
|
||||||
include_once '../include/functions_users.php';
|
|
||||||
include_once $config['homedir'].'/include/config.php';
|
include_once $config['homedir'].'/include/config.php';
|
||||||
include_once $config['homedir'].'/include/functions_agents.php';
|
include_once $config['homedir'].'/include/functions_agents.php';
|
||||||
include_once $config['homedir'].'/include/functions_reporting.php';
|
include_once $config['homedir'].'/include/functions_reporting.php';
|
||||||
include_once $config['homedir'].'/include/functions_modules.php';
|
include_once $config['homedir'].'/include/functions_modules.php';
|
||||||
include_once $config['homedir'].'/include/functions_users.php';
|
include_once $config['homedir'].'/include/functions_users.php';
|
||||||
|
} else {
|
||||||
|
include_once '../include/config.php';
|
||||||
|
include_once '../include/functions_agents.php';
|
||||||
|
include_once '../include/functions_reporting.php';
|
||||||
|
include_once '../include/functions_modules.php';
|
||||||
|
include_once '../include/functions_users.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue