diff options
author | Graham Eames <grahamje@users.sourceforge.net> | 2006-06-19 20:52:01 +0000 |
---|---|---|
committer | Graham Eames <grahamje@users.sourceforge.net> | 2006-06-19 20:52:01 +0000 |
commit | 790f4dcc02dde2a49b3bd30a22524fb0fd0c582c (patch) | |
tree | 96c1fd2032d7a58c9a899a2658a8b4474de2670c /phpBB/install/install_main.php | |
parent | aa443a868dd1c908731fbb076859bfe6b5b2ba16 (diff) | |
download | forums-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-x | phpBB/install/install_main.php | 6 |
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( |