diff options
| author | David M <davidmj@users.sourceforge.net> | 2006-05-30 04:27:14 +0000 |
|---|---|---|
| committer | David M <davidmj@users.sourceforge.net> | 2006-05-30 04:27:14 +0000 |
| commit | 74799e168de336d6aaddb43606772282c3319e09 (patch) | |
| tree | e9eba88da220549fc22c025715b87692f67baa44 /phpBB/install/install_install.php | |
| parent | 5465ceb5071d2b58609ae68004e453334d569649 (diff) | |
| download | forums-74799e168de336d6aaddb43606772282c3319e09.tar forums-74799e168de336d6aaddb43606772282c3319e09.tar.gz forums-74799e168de336d6aaddb43606772282c3319e09.tar.bz2 forums-74799e168de336d6aaddb43606772282c3319e09.tar.xz forums-74799e168de336d6aaddb43606772282c3319e09.zip | |
- We are now at _seven_ different policies, not counting the non-GD version. We must remove something...
- Made the CAPTCHA system idiot proof, disabling all the policies still lets an image get created.
- We handle the case of a user having GD but no TTF. Thankfully, we have CAPTCHAs that don't need TTF!
- Fixed that stupid language string...
- Renamed Occlude to Overlap
- Shape is now only enabled if TTF support is detected
git-svn-id: file:///svn/phpbb/trunk@5985 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/install_install.php')
| -rwxr-xr-x | phpBB/install/install_install.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index 2085d5b9dd..ae3048122c 100755 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -1084,6 +1084,14 @@ 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'))) + { + $sql_ary[] = 'UPDATE ' . $table_prefix . "config + SET config_value = '0' + WHERE config_name = 'policy_shape'"; + } + foreach ($sql_ary as $sql) { $sql = trim(str_replace('|', ';', $sql)); |
