diff options
Diffstat (limited to 'phpBB/install/index.php')
-rw-r--r-- | phpBB/install/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php index c82c3dbc13..5189cbfc8e 100644 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -35,7 +35,7 @@ function phpbb_require_updated($path, $optional = false) { require($new_path); } - else if (file_exists($old_path) || !$optional) + else if (!$optional || file_exists($old_path)) { require($old_path); } @@ -74,7 +74,7 @@ else // Include essential scripts require($phpbb_root_path . 'includes/functions.' . $phpEx); -phpbb_require_updated($phpbb_root_path . 'includes/functions_content.' . $phpEx, true); +phpbb_require_updated('includes/functions_content.' . $phpEx, true); include($phpbb_root_path . 'includes/auth.' . $phpEx); include($phpbb_root_path . 'includes/session.' . $phpEx); |