Run Check Tables on Start

This commit is contained in:
earnolmartin 2023-10-07 12:31:41 -06:00
parent 2f2567645a
commit 743cc2e13a
2 changed files with 3 additions and 3 deletions

View file

@ -12469,6 +12469,9 @@ email2@domain2.com:password2<br>
$this->executeProg3("chmod a+w " . $this->ehcpdir . '/upload');
$this->executeProg3("chmod a+w " . $this->ehcpdir . '/LocalServer.cnf');
// Check tables on daemon init
$this->checkTables();
while (True) { // run forever
// Set up the array to prevent duplicate operations from running
if (isset($opArray)) {

View file

@ -38,9 +38,6 @@ $app->cerceve="standartcerceve";
$app->usertable="domainusers";
$app->userfields=array("id","domainname","username","email","quota");
$app->op=strtolower($op);
if($commandline) {
$app->checkTables(); // Check tables on daemon start
}
$app->run();
?>