diff options
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( |