1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-24 10:31:57 +02:00

[ticket/14039] Use compatibility globals from the update package

PHPBB3-14039
This commit is contained in:
Mate Bartus
2015-10-18 11:30:09 +02:00
parent 100bb8f27c
commit 6b561b9eae

View File

@@ -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);
}
}
}