New process table for a better detection of running workers
This commit is contained in:
@@ -11,7 +11,7 @@ function cli_startup() {
|
||||
if(is_null($a)) {
|
||||
$a = new App;
|
||||
}
|
||||
|
||||
|
||||
if(is_null($db)) {
|
||||
@include(".htconfig.php");
|
||||
require_once("dba.php");
|
||||
@@ -19,6 +19,8 @@ function cli_startup() {
|
||||
unset($db_host, $db_user, $db_pass, $db_data);
|
||||
};
|
||||
|
||||
$a->start_process();
|
||||
|
||||
require_once('include/session.php');
|
||||
|
||||
load_config('config');
|
||||
|
||||
Reference in New Issue
Block a user