Changeset 401 for trunk/app/vendors/kcaptcha/kcaptcha.php
- Timestamp:
- 04/16/08 03:07:25 (9 months ago)
- Files:
-
- 1 modified
-
trunk/app/vendors/kcaptcha/kcaptcha.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/vendors/kcaptcha/kcaptcha.php
r1 r401 1 1 <?php 2 3 2 # KCAPTCHA PROJECT VERSION 1.2.4 4 3 … … 17 16 # See kcaptcha_config.php for customizing 18 17 19 class KCAPTCHA {18 class KCAPTCHA { 20 19 21 20 // generates keystring and image 22 function KCAPTCHA(){21 public function KCAPTCHA(){ 23 22 24 23 require(dirname(__FILE__).'/kcaptcha_config.php'); … … 202 201 } 203 202 204 if(function_exists("imagejpeg")){ 203 if (function_exists("imagejpeg")) 204 { 205 205 header("Content-Type: image/jpeg"); 206 206 imagejpeg($img2, null, $jpeg_quality);
