From 077cc37d8e9fa88dc99258379ccd0a66993a54b6 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Fri, 10 Jul 2009 20:59:49 +0000 Subject: [PATCH] config.inc.php: remove pointless ereg stuff git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@681 a1433add-5e2c-0410-b055-b7f2511e0802 --- config.inc.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/config.inc.php b/config.inc.php index c7c1f6b5..c8174745 100644 --- a/config.inc.php +++ b/config.inc.php @@ -16,12 +16,6 @@ * Contains configuration options. */ -if (ereg ("config.inc.php", $_SERVER['PHP_SELF'])) -{ - header ("Location: login.php"); - exit; -} - /***************************************************************** * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! * The following line needs commenting out or removing before the