From 9e270489eb1dfbb59f176dd2abdb10f94055265a Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 11 May 2007 12:25:28 +0000 Subject: We do not support nesting code tags - #10763 #10741 Confirm box on pruning forums - #10619 Not stripping empty lines on parsing messages - #10579 Remove reports alongside with users - #10501 git-svn-id: file:///svn/phpbb/trunk@7527 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/install/install_install.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'phpBB/install/install_install.php') 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. -- cgit v1.2.1