mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Since dl() is deprecated and disabled by default in PHP 5.3, calling it will result in a fatal error for an undefined function and because of the error suppression in a blank page. Checking if dl() exists should allow most boards to continue right away. - Bug #54665
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10298 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
57ddd53d59
commit
a5c9a2f36e
4 changed files with 5 additions and 3 deletions
|
@ -172,7 +172,8 @@ if (defined('DEBUG_EXTRA'))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load Extensions
|
// Load Extensions
|
||||||
if (!empty($load_extensions))
|
// dl() is deprecated and disabled by default as of PHP 5.3.
|
||||||
|
if (!empty($load_extensions) && function_exists('dl'))
|
||||||
{
|
{
|
||||||
$load_extensions = explode(',', $load_extensions);
|
$load_extensions = explode(',', $load_extensions);
|
||||||
|
|
||||||
|
|
|
@ -101,6 +101,7 @@
|
||||||
<li>[Fix] Various XHTML mistakes in prosilver. (Bug #54705)</li>
|
<li>[Fix] Various XHTML mistakes in prosilver. (Bug #54705)</li>
|
||||||
<li>[Fix] Correctly show topic ATOM feed link when only post id is specified. (Bug #53025)</li>
|
<li>[Fix] Correctly show topic ATOM feed link when only post id is specified. (Bug #53025)</li>
|
||||||
<li>[Fix] Cleanly handle forum/topic not found in ATOM Feeds. (Bug #54295)</li>
|
<li>[Fix] Cleanly handle forum/topic not found in ATOM Feeds. (Bug #54295)</li>
|
||||||
|
<li>[Fix] PHP 5.3 compatibility: Check if function dl() exists before calling it. (Bug #54665)</li>
|
||||||
<li>[Change] Send time of last item instead of current time in ATOM Feeds. (Bug #53305)</li>
|
<li>[Change] Send time of last item instead of current time in ATOM Feeds. (Bug #53305)</li>
|
||||||
<li>[Change] Use em dash instead of hyphen/minus as separator in ATOM Feeds item statistics. (Bug #53565)</li>
|
<li>[Change] Use em dash instead of hyphen/minus as separator in ATOM Feeds item statistics. (Bug #53565)</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -45,7 +45,7 @@ if (!defined('PHPBB_INSTALLED') || empty($dbms) || empty($acm_type))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load Extensions
|
// Load Extensions
|
||||||
if (!empty($load_extensions))
|
if (!empty($load_extensions) && function_exists('dl'))
|
||||||
{
|
{
|
||||||
$load_extensions = explode(',', $load_extensions);
|
$load_extensions = explode(',', $load_extensions);
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ if (version_compare(PHP_VERSION, '6.0.0-dev', '<'))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load Extensions
|
// Load Extensions
|
||||||
if (!empty($load_extensions))
|
if (!empty($load_extensions) && function_exists('dl'))
|
||||||
{
|
{
|
||||||
$load_extensions = explode(',', $load_extensions);
|
$load_extensions = explode(',', $load_extensions);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue