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
/
member
/
what-surfbar_start.php
diff --git
a/inc/modules/member/what-surfbar_start.php
b/inc/modules/member/what-surfbar_start.php
index acb470a3a77c351fed88918dd9959998fdb036f4..2308f2a275bd185d2ca3aa3f597b4e7db7ac3870 100644
(file)
--- a/
inc/modules/member/what-surfbar_start.php
+++ b/
inc/modules/member/what-surfbar_start.php
@@
-32,10
+32,10
@@
************************************************************************/
// 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);
-} elseif (!IS_
LOGGED_IN
()) {
+} elseif (!IS_
MEMBER
()) {
// Not logged in
LOAD_URL("modules.php?module=index");
} elseif (!EXT_IS_ACTIVE("surfbar")) {
// Not logged in
LOAD_URL("modules.php?module=index");
} elseif (!EXT_IS_ACTIVE("surfbar")) {