コード例 #1
0
ファイル: zarafa.zpush.php プロジェクト: BillTheBest/1.6.x
    exit;
}
if (isset($_POST["ZarafaApacheEnable"])) {
    zarafa_settings_webmail_save();
    exit;
}
if (isset($_POST["apacheMasterconfig"])) {
    zarafa_settings_performances_save();
    exit;
}
if (isset($_GET["status"])) {
    status();
    exit;
}
if (isset($_POST["restore-logs"])) {
    restorelogs();
    exit;
}
if (isset($_GET["ShowProgress-js"])) {
    ShowProgress_js();
    exit;
}
if (isset($_GET["logs-starter"])) {
    logs_starter();
    exit;
}
if (isset($_POST["install-zpush"])) {
    install_zpush();
    exit;
}
popup();
コード例 #2
0
ファイル: zarafa.zpush.php プロジェクト: brucewu16899/1.6.x
	include_once('ressources/class.cron.inc');
	
	$users=new usersMenus();
	if(!$users->AsMailBoxAdministrator){
		$tpl=new templates();
		$error=$tpl->javascript_parse_text("{ERROR_NO_PRIVS}");
		echo "alert('$error')";
		die();
	}	
	
	if(isset($_GET["update"])){update();exit;}
	
	if(isset($_POST["ZarafaApacheEnable"])){zarafa_settings_webmail_save();exit;}
	if(isset($_POST["apacheMasterconfig"])){zarafa_settings_performances_save();exit;}
	if(isset($_GET["status"])){status();exit;}
	if(isset($_POST["restore-logs"])){restorelogs();exit;}
	if(isset($_GET["ShowProgress-js"])){ShowProgress_js();exit;}
	if(isset($_GET["logs-starter"])){logs_starter();exit;}
	if(isset($_POST["install-zpush"])){install_zpush();exit;}
	
	
popup();	
	
function popup(){
		$q=new mysql();
		$page=CurrentPageName();
		$tpl=new templates();
		$sock=new sockets();
		$EnableZarafaMulti=$sock->GET_INFO("EnableZarafaMulti");
		$ZarafaDedicateMySQLServer=$sock->GET_INFO("ZarafaDedicateMySQLServer");
		if(!is_numeric($ZarafaDedicateMySQLServer)){$ZarafaDedicateMySQLServer=0;}