1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-11-27 23:01:12 +03:00

remove pointless ereg stuff

git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@682 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
David Goodwin
2009-07-10 21:00:43 +00:00
parent 077cc37d8e
commit f05b84128a

View File

@@ -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: */
?>