Project

General

Profile

« Previous | Next » 

Revision ae160a48

Added by Scott Ullrich over 19 years ago

  • Don't pre-cache auth.inc
  • Remove supporting goo

View differences:

usr/local/www/preload.php
4 4
$ip = $HTTP_SERVER_VARS['REMOTE_ADDR'];
5 5
if($ip <> "127.0.0.1") 
6 6
	exit;
7
else
8
	$HTTP_SERVER_VARS['AUTH_USER'] = "root";
9 7

  
10 8
/* preload */
11 9
require("config.inc");
12 10
require("functions.inc");
13
require("auth.inc");
14

  
15
unset($HTTP_SERVER_VARS['AUTH_USER']);
16 11

  
17 12
?>

Also available in: Unified diff