exit; } if (isset($_GET["greensql-status"])) { greensql_status(); exit; } if (isset($_GET["greensql-reload"])) { greensql_reload(); exit; } if (isset($_GET["greensql-logs"])) { greensql_logs(); exit; } if (isset($_GET["restart-postfix-all"])) { restart_postfix_all(); exit; } if (isset($_GET["restart-apache-groupware"])) { restart_apache_groupware(); exit; } if (isset($_GET["restart-artica-status"])) { restart_artica_status(); exit; } if (isset($_GET["restart-instant-messaging"])) { restart_instant_messaging(); exit; } if (isset($_GET["UpdateUtility-dbsize"])) {
include_once(dirname(__FILE__)."/frame.class.inc"); include_once(dirname(__FILE__)."/class.unix.inc"); if(isset($_GET["syslogger"])){syslogger();exit;} if(isset($_GET["openvpn"])){openvpn();exit;} if(isset($_GET["postfix-single"])){postfix_single();exit;} if(isset($_GET["nsswitch"])){nsswitch();exit;} if(isset($_GET["changeRootPasswd"])){changeRootPasswd();exit;} if(isset($_GET["process1"])){process1();exit;} if(isset($_GET["mysql-status"])){mysql_status();exit;} if(isset($_GET["greensql-status"])){greensql_status();exit;} if(isset($_GET["greensql-reload"])){greensql_reload();exit;} if(isset($_GET["greensql-logs"])){greensql_logs();exit;} if(isset($_GET["restart-postfix-all"])){restart_postfix_all();exit;} while (list ($num, $line) = each ($_GET)){$f[]="$num=$line";} writelogs_framework("unable to understand query !!!!!!!!!!!..." .@implode(",",$f),"main()",__FILE__,__LINE__); die(); function mysql_status(){ exec(LOCATE_PHP5_BIN2()." /usr/share/artica-postfix/exec.status.php --mysql --nowachdog",$results); echo "<articadatascgi>". base64_encode(@implode("\n",$results))."</articadatascgi>"; } function greensql_status(){ exec(LOCATE_PHP5_BIN2()." /usr/share/artica-postfix/exec.status.php --greensql --nowachdog",$results);