diff options
Diffstat (limited to 'phpBB/install')
-rwxr-xr-x | phpBB/install/install_install.php | 6 | ||||
-rwxr-xr-x | phpBB/install/install_main.php | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index c7f442a65b..8b0d86db7e 100755 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.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( 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( |