Exemple #1
0
include_once 'ressources/class.system.nics.inc';
include_once 'ressources/class.squid.inc';
if (isset($_GET["explain-performance"])) {
    setup_features_explain();
    exit;
}
if (isset($_GET["setup-1"])) {
    setup_1();
    exit;
}
if (isset($_GET["setup-2"])) {
    setup_2();
    exit;
}
if (isset($_GET["setup-3"])) {
    setup_3();
    exit;
}
if (isset($_GET["setup-4"])) {
    setup_4();
    exit;
}
if (isset($_GET["setup-5"])) {
    setup_5();
    exit;
}
if (isset($_GET["setup-nic"])) {
    setup_nic();
    exit;
}
if (isset($_POST["savedsettings"])) {
include_once('ressources/class.ldap.inc');
include_once('ressources/class.user.inc');
include_once('ressources/class.langages.inc');
include_once('ressources/class.sockets.inc');
include_once('ressources/class.mysql.inc');
include_once('ressources/class.privileges.inc');
include_once('ressources/class.browser.detection.inc');
include_once('ressources/class.resolv.conf.inc');
include_once('ressources/class.system.network.inc');
include_once('ressources/class.system.nics.inc');
include_once('ressources/class.squid.inc');

if(isset($_GET["explain-performance"])){setup_features_explain();exit;}
if(isset($_GET["setup-1"])){setup_1();exit;}
if(isset($_GET["setup-2"])){setup_2();exit;}
if(isset($_GET["setup-3"])){setup_3();exit;}
if(isset($_GET["setup-4"])){setup_4();exit;}
if(isset($_GET["setup-5"])){setup_5();exit;}
if(isset($_GET["setup-nic"])){setup_nic();exit;}
if(isset($_POST["savedsettings"])){save();exit;}
if(isset($_GET["settings-dns"])){dns_save();exit;}
if(isset($_GET["settings-ou"])){ou_save();exit;}
if(isset($_GET["settings-final"])){final_show();exit;}
if(isset($_GET["setup-proxy-type"])){setup_proxy_type();exit;}
if(isset($_GET["setup-active-directory"])){setup_active_directory();exit;}
if(isset($_GET["setup-features"])){setup_features();exit;}
if(isset($_POST["EnableKerbAuth"])){setup_active_directory_save();exit;}
if(isset($_POST["SquidPerformance"])){setup_features_save();exit;}

if(isset($_GET["automation"])){automation_js();exit;}
if(isset($_GET["automation-js"])){automation_js();exit;}