projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Security line in all includes changed
[mailer.git]
/
inc
/
modules
/
welcome.php
diff --git
a/inc/modules/welcome.php
b/inc/modules/welcome.php
index d59a536d71a066ed296e10f71608660d62d84129..ce50f5bcc72ec40c6caf395da1854ccdb4d905ff 100644
(file)
--- a/
inc/modules/welcome.php
+++ b/
inc/modules/welcome.php
@@
-32,8
+32,7
@@
************************************************************************/
// Some security stuff...
************************************************************************/
// Some security stuff...
-if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
-{
+if (!defined('__SECURITY')) {
$INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
require($INC);
}
$INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
require($INC);
}