1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

Make some changes to how the visual confirmation is handled if zlib is unavailable

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5713 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Graham Eames
2006-03-25 14:22:45 +00:00
parent a24592f9f4
commit c01f77be2a
2 changed files with 10 additions and 13 deletions

View File

@@ -155,7 +155,9 @@ else
{
$_png = define_raw_pngs();
$char = substr($code, -1);
$c = intval($HTTP_GET_VARS['c']);
$char = substr($code, $c - 1, 1);
header('Content-Type: image/png');
header('Cache-control: no-cache, no-store');
echo base64_decode($_png[$char]);