aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install/helper/container_factory.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/install/helper/container_factory.php')
-rw-r--r--phpBB/phpbb/install/helper/container_factory.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/phpBB/phpbb/install/helper/container_factory.php b/phpBB/phpbb/install/helper/container_factory.php
index fd42d53c00..8c007de39f 100644
--- a/phpBB/phpbb/install/helper/container_factory.php
+++ b/phpBB/phpbb/install/helper/container_factory.php
@@ -168,6 +168,13 @@ class container_factory
}
// Get compatibilty globals
- require ($this->phpbb_root_path . 'includes/compatibility_globals.' . $this->php_ext);
+ if (file_exists($this->phpbb_root_path . 'install/update/new/includes/compatibility_globals.' . $this->php_ext))
+ {
+ require($this->phpbb_root_path . 'install/update/new/includes/compatibility_globals.' . $this->php_ext);
+ }
+ else
+ {
+ require($this->phpbb_root_path . 'includes/compatibility_globals.' . $this->php_ext);
+ }
}
}