die;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["cyrus-brows-comp"])) {
    list_ressources2();
    exit;
}
if (isset($_GET["RestoreFromRsyncPath"])) {
    RestoreFromRsyncPath_popup();
    exit;
}
if (isset($_GET["viewlogs"])) {
    viewlogs();
    exit;
}
if (isset($_GET["LaunExportNow"])) {
    LaunExportNow();
    exit;
}
js();
function js()
{
    $page = CurrentPageName();
    $prefix = str_replace('.', '_', $page);
    $prefix = str_replace('-', '', $prefix);
    $tpl = new templates();
    $title = $tpl->_ENGINE_parse_body('{perform_restore}', 'artica.backup.index.php');
    $settings = $tpl->_ENGINE_parse_body('{settings}');
示例#2
0
文件: cmd.php 项目: rsd/artica-1.5
if(isset($_GET["sabnzbdplus-restart"])){sabnzbdplus_restart();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"])){viewlogs();exit;}
if(isset($_GET["LdapdbStat"])){LdapdbStat();exit;}
if(isset($_GET["LdapdbSize"])){LdapdbSize();exit;}
if(isset($_GET["ldap-restart"])){ldap_restart();exit;}
if(isset($_GET["buildFrontEnd"])){buildFrontEnd();exit;}
if(isset($_GET["cpualarm"])){cpualarm();exit;}
if(isset($_GET["CurrentLoad"])){CurrentLoad();exit;}
if(isset($_GET["TaskLastManager"])){TaskLastManager();exit;}
if(isset($_GET["start-all-services"])){StartAllServices();exit;}
if(isset($_GET["kill-pid-number"])){process_kill();exit;}
if(isset($_GET["kill-pid-single"])){process_kill_single();exit;}
if(isset($_GET["postmaster-cron"])){postmaster_cron();exit;}
if(isset($_GET["start-service-name"])){StartServiceCMD();exit;}
if(isset($_GET["stop-service-name"])){StopServiceCMD();exit;}
if(isset($_GET["START-STOP-SERVICES"])){START_STOP_SERVICES();exit;}
if(isset($_GET["monit-status"])){MONIT_STATUS();exit;}