mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-23 19:58:51 +00:00
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12638] Use require if phpbb_require_updated isn't available
This commit is contained in:
commit
e908cb85c1
1 changed files with 9 additions and 2 deletions
|
@ -44,9 +44,16 @@ class local_url_bbcode extends \phpbb\db\migration\migration
|
||||||
{
|
{
|
||||||
if (!class_exists('acp_bbcodes'))
|
if (!class_exists('acp_bbcodes'))
|
||||||
{
|
{
|
||||||
global $phpEx;
|
if (function_exists('phpbb_require_updated'))
|
||||||
phpbb_require_updated('includes/acp/acp_bbcodes.' . $phpEx);
|
{
|
||||||
|
phpbb_require_updated('includes/acp/acp_bbcodes.' . $this->php_ext);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
require($this->phpbb_root_path . 'includes/acp/acp_bbcodes.' . $this->php_ext);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$bbcode_match = $row['bbcode_match'];
|
$bbcode_match = $row['bbcode_match'];
|
||||||
$bbcode_tpl = $row['bbcode_tpl'];
|
$bbcode_tpl = $row['bbcode_tpl'];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue