EHCP-Force-Edition/ehcp/ehcp_fix_apache.php
2018-04-02 16:26:17 -06:00

22 lines
657 B
PHP
Executable file

#!/usr/bin/env php
<?php
include_once("config/adodb/adodb.inc.php"); # adodb database abstraction layer.. hope database abstracted...
include_once("classapp.php"); # real application class
$app = new Application();
$app->cerceve="standartcerceve";
$app->connecttodb();
$app->addDaemonOp('fixApacheConfigNonSsl','','','','fixApacheConfigNonSsl');
$app->addDaemonOp('syncdomains','','','','sync domains');
$app->addDaemonOp('syncftp','','','','sync ftp for nonstandard homes');
$app->addDaemonOp('syncdns','','','','sync dns');
$app->addDaemonOp('syncapacheauth','','','','sync apache auth');
passthru2("service ehcp restart");
$app->showoutput();
?>