aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install_install.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/install/install_install.php')
-rwxr-xr-xphpBB/install/install_install.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php
index 3d6646df94..9f5f5d771a 100755
--- a/phpBB/install/install_install.php
+++ b/phpBB/install/install_install.php
@@ -1304,12 +1304,11 @@ class install_install extends module
SET forum_last_post_time = $current_time",
);
- if (!@extension_loaded('gd'))
+ if (@extension_loaded('gd') || can_load_dll('gd'))
{
- can_load_dll('gd');
$sql_ary[] = 'UPDATE ' . $table_prefix . "config
- SET config_value = '1'
- WHERE config_name = 'captcha_gd'";
+ SET config_value = '1'
+ WHERE config_name = 'captcha_gd'";
}
// We set a (semi-)unique cookie name to bypass login issues related to the cookie name.