remove pointless ereg stuff

git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@682 a1433add-5e2c-0410-b055-b7f2511e0802
postfixadmin-2.3
David Goodwin 15 years ago
parent 077cc37d8e
commit f05b84128a

@ -17,11 +17,6 @@
*
* XXX Probably a hack to save having to declare variables before using them in pages.
*/
if (ereg ("variables.inc.php", $_SERVER['PHP_SELF']))
{
header ("Location: login.php");
exit;
}
$error = "";
$escaped_string = "";
@ -101,4 +96,3 @@ $pPassword_password_current_text = " ";
$pPassword_password_text = " ";
/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */
?>

Loading…
Cancel
Save