Exemple #1
0
    exit;
}
if (isset($_GET["behavior"])) {
    behavior();
    exit;
}
if (isset($_GET["client-js"])) {
    client_js();
    exit;
}
if (isset($_GET["tabs"])) {
    tabs();
    exit;
}
if (isset($_GET["ufdbperf"])) {
    ufdbperf();
    exit;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_POST["enforce-https-with-hostname"])) {
    save_ssl();
    exit;
}
if (isset($_GET["ufdbclient"])) {
    ufdbclient_popup();
    exit;
}
if (isset($_POST["url_rewrite_children_max"])) {
Exemple #2
0
	include_once('ressources/class.squid.inc');
	include_once('ressources/class.ccurl.inc');
	include_once("ressources/class.compile.ufdbguard.expressions.inc");
	
	$user=new usersMenus();
	if($user->AsDansGuardianAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}	
	
	
	if(isset($_GET["behavior"])){behavior();exit;}
	if(isset($_GET["client-js"])){client_js();exit;}
	if(isset($_GET["tabs"])){tabs();exit;}
	if(isset($_GET["ufdbperf"])){ufdbperf();exit;}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_POST["enforce-https-with-hostname"])){save_ssl();exit;}
	if(isset($_GET["ufdbclient"])){ufdbclient_popup();exit;}
	if(isset($_POST["url_rewrite_children_max"])){save_ssl();exit;}
	if(isset($_POST["UseRemoteUfdbguardService"])){save_ssl();exit;}
	if(isset($_POST["url_rewrite_bypass"])){url_rewrite_bypass_save();exit;}
	if(isset($_GET["force-reload-js"])){force_reload_js();exit;}
	if(isset($_POST["force-reload-perform"])){force_reload_perform();exit;}
	if(isset($_GET["import-export"])){import_export();exit;}
	if(isset($_GET["TestsSocket"])){TestsSocket();exit;}
	js();

	
function force_reload_js(){
	$page=CurrentPageName();