diff options
| author | Andreas Fischer <bantu@phpbb.com> | 2009-12-04 11:50:03 +0000 |
|---|---|---|
| committer | Andreas Fischer <bantu@phpbb.com> | 2009-12-04 11:50:03 +0000 |
| commit | a5c9a2f36e569b88d0d9867f955eafc8e0606560 (patch) | |
| tree | 3b8b9608af51adffa83db5256ee29a76d2faf440 /phpBB/style.php | |
| parent | 57ddd53d592a381ab933b19bca84f78d9405bb8f (diff) | |
| download | forums-a5c9a2f36e569b88d0d9867f955eafc8e0606560.tar forums-a5c9a2f36e569b88d0d9867f955eafc8e0606560.tar.gz forums-a5c9a2f36e569b88d0d9867f955eafc8e0606560.tar.bz2 forums-a5c9a2f36e569b88d0d9867f955eafc8e0606560.tar.xz forums-a5c9a2f36e569b88d0d9867f955eafc8e0606560.zip | |
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
Diffstat (limited to 'phpBB/style.php')
| -rw-r--r-- | phpBB/style.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/style.php b/phpBB/style.php index 0b4c3d0d41..64241f7ed3 100644 --- a/phpBB/style.php +++ b/phpBB/style.php @@ -31,7 +31,7 @@ if (version_compare(PHP_VERSION, '6.0.0-dev', '<')) } // Load Extensions -if (!empty($load_extensions)) +if (!empty($load_extensions) && function_exists('dl')) { $load_extensions = explode(',', $load_extensions); |
