Diff for Metafox/libpub/RotateAntispam/RotateAntispam.php between version 1.1 and 1.2
| version 1.1, 2012/10/02 08:25:15 |
version 1.2, 2012/10/02 12:09:48 |
| Line 88 class RotateAntispam { |
|
| Line 88 class RotateAntispam { |
|
| && is_bool($opts['debug'])) |
&& is_bool($opts['debug'])) |
| { |
{ |
| $this->debug = $opts['debug']; |
$this->debug = $opts['debug']; |
| $this->addLog('Debug nastaveny na hodnotu ' . $this->debug); |
$this->addLog('Debug nastaveny na hodnotu ' . (($this->debug) ? 'TRUE' : 'FALSE')); |
| } else { |
} else { |
| $this->debug = false; |
$this->debug = false; |
| $this->addLog('Debug bol nastaveny na default hodnotu FALSE'); |
$this->addLog('Debug bol nastaveny na default hodnotu FALSE'); |
| Line 645 if (isset($_REQUEST['getImage'])) { |
|
| Line 645 if (isset($_REQUEST['getImage'])) { |
|
| return $destimg; |
return $destimg; |
| } |
} |
| |
|
| |
|
| header('Content-type: image/png'); |
header('Content-type: image/png'); |
| $source = imagecreatefrompng($filename); |
$source = imagecreatefrompng($filename); |
| $color = imagecolorallocate($source, 204, 204, 204); |
$color = imagecolorallocate($source, 204, 204, 204); |
Platon Group <platon@platon.org> http://platon.org/
|
|