コード例 #1
0
ファイル: cmd.php プロジェクト: brucewu16899/artica
if (isset($_GET["pdf-quarantine-cron"])) {
    reports_build_quarantine_cron();
    exit;
}
if (isset($_GET["pdf-quarantine-send"])) {
    reports_build_quarantine_send();
    exit;
}
//pure-ftpd
if (isset($_GET["pure-ftpd-status"])) {
    pureftpd_status();
    exit;
}
//amavis restart
if (isset($_GET["amavis-restart"])) {
    RestartAmavis();
    exit;
}
if (isset($_GET["amavis-get-events"])) {
    amavis_get_events();
    exit;
}
if (isset($_GET["amavis-configuration-file"])) {
    amavis_get_config();
    exit;
}
if (isset($_GET["amavis-get-status"])) {
    amavis_get_status();
    exit;
}
//rsync
コード例 #2
0
ファイル: cmd.php プロジェクト: rsd/artica-1.5
if(isset($_GET["pdf-quarantine-send"])){reports_build_quarantine_send();exit;}

//pure-ftpd

if(isset($_GET["pure-ftpd-status"])){pureftpd_status();exit;}
if(isset($_GET["pure-ftpd-restart"])){pureftpd_restart();exit;}
if(isset($_GET["pure-ftpd-users"])){pureftpd_users();exit;}



//NFS
if(isset($_GET["reload-nfs"])){NFS_RELOAD();exit;}


//amavis restart
if(isset($_GET["amavis-restart"])){RestartAmavis();exit;}
if(isset($_GET["amavis-get-events"])){amavis_get_events();exit;}
if(isset($_GET["amavis-configuration-file"])){amavis_get_config();exit;}
if(isset($_GET["amavis-get-status"])){amavis_get_status();exit;}
if(isset($_GET["amavis-template-load"])){amavis_get_template();exit;}
if(isset($_GET["amavis-template-save"])){amavis_save_template();exit;}
if(isset($_GET["amavis-template-help"])){amavis_template_help();exit;}
if(isset($_GET["amavis-watchdog"])){amavis_watchdog();exit;}




//rsync
if(isset($_GET["RestartRsyncServer"])){RestartRsyncServer();exit;}
if(isset($_GET["rsyncd-conf"])){rsync_load_config();exit;}
if(isset($_GET["rsync-save-conf"])){rsync_save_conf();exit;}