diff options
author | Chris Smith <toonarmy@phpbb.com> | 2009-05-20 12:37:35 +0000 |
---|---|---|
committer | Chris Smith <toonarmy@phpbb.com> | 2009-05-20 12:37:35 +0000 |
commit | 6e11b7181d4bdc5542add123a13bd74953d77ddb (patch) | |
tree | 6b736a7e26262598d6f5594a467813fe2b4a143e /phpBB/includes/functions_install.php | |
parent | 8037937eb817f184092a0d8db344b068222f9ee2 (diff) | |
download | forums-6e11b7181d4bdc5542add123a13bd74953d77ddb.tar forums-6e11b7181d4bdc5542add123a13bd74953d77ddb.tar.gz forums-6e11b7181d4bdc5542add123a13bd74953d77ddb.tar.bz2 forums-6e11b7181d4bdc5542add123a13bd74953d77ddb.tar.xz forums-6e11b7181d4bdc5542add123a13bd74953d77ddb.zip |
Fix installer under PHP 5.3. #45255
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9518 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_install.php')
-rw-r--r-- | phpBB/includes/functions_install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_install.php b/phpBB/includes/functions_install.php index 90459813f1..611b0a7bc3 100644 --- a/phpBB/includes/functions_install.php +++ b/phpBB/includes/functions_install.php @@ -21,7 +21,7 @@ if (!defined('IN_PHPBB')) */ function can_load_dll($dll) { - return ((@ini_get('enable_dl') || strtolower(@ini_get('enable_dl')) == 'on') && (!@ini_get('safe_mode') || strtolower(@ini_get('safe_mode')) == 'off') && @dl($dll . '.' . PHP_SHLIB_SUFFIX)) ? true : false; + return ((@ini_get('enable_dl') || strtolower(@ini_get('enable_dl')) == 'on') && (!@ini_get('safe_mode') || strtolower(@ini_get('safe_mode')) == 'off') && function_exists('dl') && @dl($dll . '.' . PHP_SHLIB_SUFFIX)) ? true : false; } /** |