From 8fa7d2e175c3e52bb84b93d9af0eaef6fd26a26f Mon Sep 17 00:00:00 2001 From: dougk_ff7 Date: Mon, 18 Mar 2002 14:50:43 +0000 Subject: [PATCH] includes/sessions.php git-svn-id: file:///svn/phpbb/trunk@2308 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/config.php | 19 +++++++++++++++++++ phpBB/includes/sessions.php | 4 ++-- 2 files changed, 21 insertions(+), 2 deletions(-) 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 +?>