mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-29 13:00:26 +02:00
[ticket/14039] Use compatibility globals from the update package
PHPBB3-14039
This commit is contained in:
@@ -168,6 +168,13 @@ class container_factory
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Get compatibilty globals
|
// 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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user