debuggage
This commit is contained in:
4
moha.php
4
moha.php
@ -5,7 +5,7 @@ file_put_contents("/proc/".getmypid()."/comm",$title);
|
||||
declare(ticks = 1);
|
||||
|
||||
$testMode = false;
|
||||
$webServerIsActive = true;
|
||||
$apiServerIsActive = true;
|
||||
|
||||
require "constants.php";
|
||||
|
||||
@ -338,7 +338,7 @@ while (true)
|
||||
//logger(DEBUG, _("looping"), __FILE__ . ":" . __LINE__);
|
||||
}
|
||||
checkEvents();
|
||||
apiServer($read);
|
||||
if ($apiServerIsActive) apiServer($read);
|
||||
}
|
||||
|
||||
endMoha();
|
||||
|
Reference in New Issue
Block a user