1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 10:16:36 +02:00

- compress is nicer (fixed a bug :P)

- UTF-8 code is nicer (fixed a bug :P)
- new CAPTCHA. Replaced the old one for size and usability issues. The old CAPTCHA will most likely be released as a separate package


git-svn-id: file:///svn/phpbb/trunk@6549 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M
2006-11-03 23:09:16 +00:00
parent 7ab232a455
commit 8b0ec6e02d
12 changed files with 1423 additions and 4974 deletions

View File

@@ -1185,12 +1185,12 @@ class install_install extends module
SET forum_last_post_time = $current_time",
);
// This is for people who have TTF disabled
if (!(@function_exists('imagettfbbox') && @function_exists('imagettftext')))
// This is for people who have TTF and GD
if (@extension_loaded('gd') && function_exists('imagettfbbox') && function_exists('imagettftext'))
{
$sql_ary[] = 'UPDATE ' . $table_prefix . "config
SET config_value = '0'
WHERE config_name = 'policy_shape'";
SET config_value = '1'
WHERE config_name = 'captcha_gd'";
}
foreach ($sql_ary as $sql)
@@ -1732,11 +1732,17 @@ class install_install extends module
{
case 'mysql':
case 'mysqli':
case 'sqlite':
$sql = 'SHOW TABLES';
$field = "Tables_in_{$dbname}";
break;
case 'sqlite':
$sql = 'SELECT name
FROM sqlite_master
WHERE type = "table"';
$field = 'name';
break;
case 'mssql':
case 'mssql_odbc':
$sql = "SELECT name