} if ($argv[1] == "--rotate") { rotate(); exit; } if ($argv[1] == "--awstats") { awstats(); exit; } if ($argv[1] == "--caches-status") { caches_status(); exit; } if ($argv[1] == "--framework") { $GLOBALS["OUTPUT"] = true; framework(); exit; } if ($argv[1] == "--tests-sources") { test_sources(); exit; } if ($argv[1] == "--reconfigure-all") { $GLOBALS["OUTPUT"] = true; build_localhosts(); exit; } if ($argv[1] == "--authenticator") { $GLOBALS["OUTPUT"] = true; authenticator(true); exit;
if(strlen($argv[1])>2){events("parsing command line {$argv[1]}","MAIN",__LINE__);} if($argv[1]=="--all"){ events("-> launch_all_status()","MAIN",__LINE__); launch_all_status(); die(); } if($argv[1]=="--free"){echo getmem();exit;} if($argv[1]=="--squid"){echo squid_master_status();exit;} if($argv[1]=="--c-icap"){echo c_icap_master_status();exit;} if($argv[1]=="--kav4proxy"){echo kav4Proxy_status();exit;} if($argv[1]=="--dansguardian"){echo dansguardian_master_status();exit;} if($argv[1]=="--wifi"){echo wpa_supplicant();;exit;} if($argv[1]=="--fetchmail"){echo fetchmail();;exit;} if($argv[1]=="--milter-greylist"){echo milter_greylist();;exit;} if($argv[1]=="--framework"){echo framework();;exit;} if($argv[1]=="--pdns"){echo pdns_server()."\n".pdns_recursor();exit;} if($argv[1]=="--cyrus-imap"){echo cyrus_imap();exit;} if($argv[1]=="--mysql"){echo "\n".mysql_server()."\n".mysql_mgmt()."\n". mysql_replica();exit;} if($argv[1]=="--openldap"){echo "\n".openldap();;exit;} if($argv[1]=="--saslauthd"){echo "\n".saslauthd();;exit;} if($argv[1]=="--sysloger"){echo "\n".syslogger();;exit;} if($argv[1]=="--squid-tail"){echo "\n".squid_tail();;exit;} if($argv[1]=="--amavis"){echo "\n".amavis();exit;} if($argv[1]=="--amavis-milter"){echo"\n". amavis_milter();exit;} if($argv[1]=="--boa"){echo"\n". boa();exit;} if($argv[1]=="--lighttpd"){echo"\n". lighttpd();exit;} if($argv[1]=="--fcron"){echo"\n". fcron1()."\n".fcron2(); exit;} if($argv[1]=="--clamav"){echo"\n". clamd()."\n".clamscan()."\n".clammilter()."\n".freshclam(); exit;} if($argv[1]=="--retranslator"){echo"\n". retranslator_httpd(); exit;} if($argv[1]=="--spamassassin"){echo spamassassin_milter()."\n".spamassassin();exit;}
<!doctype html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>FIS3 Pure PHP DEMO</title> <meta name="keywords" content="" /> <meta name="description" content="" /> <!-- 使用modjs作为资源加载器 --> <?php framework('static/js/mod.js'); ?> <!-- 标记css输出位置 --> <?php placeholder('css'); ?> <!-- 加载css --> <?php import('static/css/tooplate_style.css'); ?> <?php import('static/css/coda-slider.css'); ?> <!-- 加载同步的js --> <?php import('static/js/jquery-1.2.6.js'); ?> <?php
exit; } if ($argv[1] == "--wifi") { echo wpa_supplicant(); exit; } if ($argv[1] == "--fetchmail") { echo fetchmail(); exit; } if ($argv[1] == "--milter-greylist") { echo milter_greylist(); exit; } if ($argv[1] == "--framework") { echo framework(); exit; } if ($argv[1] == "--pdns") { echo pdns_server() . "\n" . pdns_recursor(); exit; } if ($argv[1] == "--cyrus-imap") { echo cyrus_imap(); exit; } if ($argv[1] == "--mysql") { echo "\n" . mysql_server() . "\n" . mysql_mgmt() . "\n" . mysql_replica(); exit; } if ($argv[1] == "--openldap") {