aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install_main.php
diff options
context:
space:
mode:
authorGraham Eames <grahamje@users.sourceforge.net>2006-06-19 20:52:01 +0000
committerGraham Eames <grahamje@users.sourceforge.net>2006-06-19 20:52:01 +0000
commit790f4dcc02dde2a49b3bd30a22524fb0fd0c582c (patch)
tree96c1fd2032d7a58c9a899a2658a8b4474de2670c /phpBB/install/install_main.php
parentaa443a868dd1c908731fbb076859bfe6b5b2ba16 (diff)
downloadforums-790f4dcc02dde2a49b3bd30a22524fb0fd0c582c.tar
forums-790f4dcc02dde2a49b3bd30a22524fb0fd0c582c.tar.gz
forums-790f4dcc02dde2a49b3bd30a22524fb0fd0c582c.tar.bz2
forums-790f4dcc02dde2a49b3bd30a22524fb0fd0c582c.tar.xz
forums-790f4dcc02dde2a49b3bd30a22524fb0fd0c582c.zip
Prevent direct access to these files
git-svn-id: file:///svn/phpbb/trunk@6102 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/install_main.php')
-rwxr-xr-xphpBB/install/install_main.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/install/install_main.php b/phpBB/install/install_main.php
index 80516a895f..ad534aaeb8 100755
--- a/phpBB/install/install_main.php
+++ b/phpBB/install/install_main.php
@@ -11,6 +11,12 @@
/**
*/
+if ( !defined('IN_INSTALL') )
+{
+ // Someone has tried to access the file direct. This is not a good idea, so exit
+ exit;
+}
+
if (!empty($setmodules))
{
$module[] = array(