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:
@@ -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]);
|
||||
|
Reference in New Issue
Block a user