EHCP-Force-Edition/ehcp/ehcp_fix_apache.php

23 lines
657 B
PHP
Raw Normal View History

2018-04-02 22:26:17 +00:00
#!/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();
?>