Run Check Tables on Start
This commit is contained in:
parent
2f2567645a
commit
743cc2e13a
2 changed files with 3 additions and 3 deletions
|
@ -12468,6 +12468,9 @@ email2@domain2.com:password2<br>
|
|||
@mkdir($this->ehcpdir . '/upload');
|
||||
$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
|
||||
|
|
|
@ -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();
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue