Ejemplo n.º 1
0
    exit;
}
if (isset($_GET["compile-kav"])) {
    compile_kav();
    exit;
}
if (isset($_GET["compile-squid"])) {
    compile_squid();
    exit;
}
if (isset($_GET["compile-pdns"])) {
    compile_pdns();
    exit;
}
if (isset($_GET["compile-end-1"])) {
    compile_end_1();
    exit;
}
if (isset($_GET["compile-end-2"])) {
    compile_end_2();
    exit;
}
if (isset($_GET["compile-end-finish"])) {
    compile_end_finish();
    exit;
}
if (isset($_GET["compile-end"])) {
    compile_end();
    exit;
}
js();
Ejemplo n.º 2
0
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.main_cf.inc');
	include_once('ressources/class.main_cf_filtering.inc');
	include_once('ressources/class.milter.greylist.inc');
	include_once('ressources/class.policyd-weight.inc');						
	
	

if(isset($_GET["popup"])){popup();exit;}
if(isset($_GET["ApplyUfdbguard"])){compile_ufdb();exit;}
if(isset($_GET["ApplyWhiteList"])){compile_whitelist();exit;}
if(isset($_GET["compile-cicap"])){compile_cicap();exit;}
if(isset($_GET["compile-kav"])){compile_kav();exit;}
if(isset($_GET["compile-squid"])){compile_squid();exit;}
if(isset($_GET["compile-pdns"])){compile_pdns();exit;}
if(isset($_GET["compile-end-1"])){compile_end_1();exit;}
if(isset($_GET["compile-end-2"])){compile_end_2();exit;}
if(isset($_GET["compile-end-finish"])){compile_end_finish();exit;}
if(isset($_GET["compile-end"])){compile_end();exit;}

js();


function js(){
	header("content-type: application/x-javascript");
	$restart=null;
	if($_GET["restart"]=="yes"){$restart="?restart=yes"; }

	
	echo "Loadjs('squid.reconfigure.php$restart')";
	return;