コード例 #1
0
ファイル: cmd.php プロジェクト: brucewu16899/artica
if (isset($_GET["smtp-hack-reconfigure"])) {
    smtp_hack_reconfigure();
    exit;
}
//organizations
if (isset($_GET["upload-organization"])) {
    ldap_upload_organization();
    exit;
}
//cups
if (isset($_GET["cups-delete-printer"])) {
    cups_delete_printer();
    exit;
}
if (isset($_GET["cups-add-printer"])) {
    cups_add_printer();
    exit;
}
//samba
if (isset($_GET["samba-save-config"])) {
    samba_save_config();
    exit;
}
if (isset($_GET["samba-build-homes"])) {
    samba_build_homes();
    exit;
}
if (isset($_GET["restart-samba"])) {
    samba_restart();
    exit;
}
コード例 #2
0
ファイル: cmd.php プロジェクト: rsd/artica-1.5
if(isset($_GET["postfix-restricted-users"])){postfix_restricted_users();exit;}
if(isset($_GET["postfix-multi-postqueue"])){postfix_multi_postqueue();exit;}
if(isset($_GET["postfix-multi-cfdb"])){postfix_multi_cfdb();exit;}




if(isset($_GET["smtp-hack-reconfigure"])){smtp_hack_reconfigure();exit;}

//organizations
if(isset($_GET["upload-organization"])){ldap_upload_organization();exit;}


//cups
if(isset($_GET["cups-delete-printer"])){cups_delete_printer();exit;}
if(isset($_GET["cups-add-printer"])){cups_add_printer();exit;}

//samba
if(isset($_GET["samba-save-config"])){samba_save_config();exit;}
if(isset($_GET["samba-build-homes"])){samba_build_homes();exit;}
if(isset($_GET["restart-samba"])){samba_restart();exit;}
if(isset($_GET["restart-samba-now"])){samba_restart_now();exit;}
if(isset($_GET["Debugpdbedit"])){samba_pdbedit_debug();exit;}
if(isset($_GET["pdbedit"])){samba_pdbedit();exit;}
if(isset($_GET["pdbedit-group"])){samba_pdbedit_group();exit;}
if(isset($_GET["samba-status"])){samba_status();exit;}
if(isset($_GET["samba-shares-list"])){samba_shares_list();exit;}
if(isset($_GET["samba-synchronize"])){samba_synchronize();exit;}
if(isset($_GET["samba-change-sid"])){samba_change_sid();exit;}
if(isset($_GET["samba-original-conf"])){samba_original_config();exit;}
if(isset($_GET["GetLocalSid"])){GET_LOCAL_SID();exit;}