mirror of
https://github.com/friendica/friendica
synced 2025-04-25 21:50:12 +00:00
New process table for a better detection of running workers
This commit is contained in:
parent
5ebeb7e85c
commit
22f32d9721
23 changed files with 107 additions and 13 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue