//ini_set("display_errors", 1);
require_once("Settings.php");
require_once("Functions.php");
if ( $pathinfo[0] == "Photos" || $pathinfo[0] == "Moto" || @$pathinfo[1] == "Screenshots" )
{
$ROOT=ENGINE . "/$pathinfo[0]";
$browse=urldecode("$Pathinfo");
$browse=str_replace("//", "/", $browse);
require_once("Authenticate.php");
$AUTHORIZED =
/* H4cK to get auth from https only */
authorized(urldecode(str_replace(ENGINE, CONTENTS, $ROOT.$browse)),
(!@$AUTHENTICATED && @$_SERVER[HTTPS] == "on"));
if ( $pathinfo[0] == "Photos" || @$pathinfo[1] == "Photos" || @$pathinfo[1] == "Screenshots" )
{
/* Ask for authentication from start page */
if ( !@$AUTHENTICATED
&& @$_SERVER[HTTPS] == "on"
)
{
http_authenticate($pathinfo[0]);
}
}
//echo "$ROOT$browse
";
//print_r($_SERVER);
}
?>
Le site WTF de Gugus
break; default: ?>Uptime echo $interval->format("%y years, %m months, %d days, %h:%M"); ?>
break; } ?>