aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/sessions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/sessions.php b/phpBB/includes/sessions.php
index 4ac7224183..420186e7f3 100644
--- a/phpBB/includes/sessions.php
+++ b/phpBB/includes/sessions.php
@@ -20,7 +20,7 @@
*
***************************************************************************/
-if ( !defined('IN_PHPBB') )
+if ( !defined('IN_PHPBB') && !defined('IN_ADMIN') )
{
die("Hacking attempt");
}
@@ -377,4 +377,4 @@ function append_sid($url, $non_html_amp = false)
return($url);
}
-?> \ No newline at end of file
+?>