diff --git a/phpBB/config.php b/phpBB/config.php index e69de29bb2..26552a35fa 100644 --- a/phpBB/config.php +++ b/phpBB/config.php @@ -0,0 +1,19 @@ + 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 +?>