Beispiel #1
0
    exit;
}
if (isset($_GET["start-install-app"])) {
    SETUP_CENTER_LAUNCH();
    exit;
}
if (isset($_GET["ChangeMysqlLocalRoot"])) {
    ChangeMysqlLocalRoot();
    exit;
}
if (isset($_GET["ChangeMysqlLocalRoot2"])) {
    ChangeMysqlLocalRoot2();
    exit;
}
if (isset($_GET["ChangeMysqlDir"])) {
    ChangeMysqlDir();
    exit;
}
if (isset($_GET["change-mysql-params"])) {
    ChangeMysqlParams();
    exit;
}
if (isset($_GET["mysql-myd-file"])) {
    mysql_myd_file();
    exit;
}
if (isset($_GET["mysql-check"])) {
    mysql_check();
    exit;
}
if (isset($_GET["viewlogs"])) {
Beispiel #2
0
	include_once('ressources/class.artica.inc');
	include_once('ressources/class.mysql.inc');	
	include_once('ressources/class.ini.inc');
	include_once('ressources/class.cyrus.inc');
	include_once('ressources/class.cron.inc');
	
	$users=new usersMenus();
	if(!$users->AsPostfixAdministrator){
		$tpl=new templates();
		$error=$tpl->javascript_parse_text("{ERROR_NO_PRIVS}");
		echo "alert('$error')";
		die();
	}
	
	if(isset($_GET["mysql-dir"])){mysql_dir_popup();exit;}
	if(isset($_POST["ChangeMysqlDir"])){ChangeMysqlDir();exit;}
	if(isset($_GET["dbsize"])){dbsize();exit;}
	if(isset($_GET["page"])){page();exit;}
tabs();

function tabs(){
	
	$page=CurrentPageName();
	$fontsize="font-size:16px;";
	$adduri="&font-size=18";$adduri2="?font-size={$_GET["font-size"]}";
	
	//$array["popup-instances"]="{multiple_webmail}";
	$array["status"]="{status}";
	
	$array["popup-mysql"]="{mysql_tuning}";