From cf9425738cdad28f8565a8c6da92572b9215cb8c Mon Sep 17 00:00:00 2001 From: Nigel McNie Date: Mon, 16 Jul 2007 00:39:25 +1200 Subject: [PATCH] require_once the auth libs, they may be required by lib/errors.php if an error message needs to go to the screen and the session object is required --- htdocs/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/init.php b/htdocs/init.php index 678fdfee3c..6a09c16447 100644 --- a/htdocs/init.php +++ b/htdocs/init.php @@ -179,7 +179,7 @@ header('Content-type: text/html; charset=UTF-8'); // Only do authentication once we know the page theme, so that the login form // can have the correct theming. -require('auth/lib.php'); +require_once('auth/lib.php'); $SESSION = Session::singleton(); $USER = new LiveUser(); // The installer does its own auth_setup checking, because some upgrades may -- GitLab