aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/install')
-rw-r--r--phpBB/phpbb/install/helper/update_helper.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/phpBB/phpbb/install/helper/update_helper.php b/phpBB/phpbb/install/helper/update_helper.php
index 2a3e6ceb0a..a00731d317 100644
--- a/phpBB/phpbb/install/helper/update_helper.php
+++ b/phpBB/phpbb/install/helper/update_helper.php
@@ -72,16 +72,11 @@ class update_helper
*/
public function include_file($filename)
{
- if (!is_file($this->phpbb_root_path . $filename))
- {
- return;
- }
-
if (is_file($this->path_to_new_files . $filename))
{
include_once($this->path_to_new_files . $filename);
}
- else
+ else if (is_file($this->phpbb_root_path . $filename))
{
include_once($this->phpbb_root_path . $filename);
}