summaryrefslogtreecommitdiff
path: root/FunnyDotImage.php
blob: d89fdcf7b8b21808264f0043a201093b396ad271 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
define( 'MEDIAWIKI', true );
require ('LocalSettings.php');

$time = time();

setCookie('AntiSpamTime', $time);
setCookie('AntiSpamHash', sha1($time.$wgAntiSpamHash));

header("Cache-Control: no-cache, must-revalidate");
header('Content-type: image/png');
$im = imagecreatetruecolor(1, 1);
imagepng($im);
imagedestroy($im);
exit();

?>