unset($db_host, $db_user, $db_pass, $db_data);
};
- $a->start_process();
-
require_once('include/session.php');
require_once('include/datetime.php');
// Don't check this stuff if the function is called by the poller
if (App::callstack() != "poller_run")
- if (App::maxload_reached())
+ if ($a->maxload_reached())
return;
if(($argc > 2) && ($argv[1] == "dirsearch")) {