Changeset 13547

Show
Ignore:
Timestamp:
11/22/07 11:10:40 (1 year ago)
Author:
tepehe
Message:

Forward ported [13545]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/midcom.helper.datamanager2/exec/captcha.php

    r13540 r13547  
    3939); 
    4040 
    41 // Generate a new Text_CAPTCHA object, Image driver 
    42 $captcha = Text_CAPTCHA::factory('Image'); 
    43 //$result = $captcha->init($width, $height, $passphrase, $options); 
    44 $result = $captcha->init($height, $width, $passphrase, $options); 
     41/* Generate a new Text_CAPTCHA object, Image driver 
     42 * This is working at least with Text_CAPTCHAS latest alpha version. Older versions 
     43 * give missing font error 
     44 */ 
     45 
     46   $captcha = Text_CAPTCHA::factory('Image'); 
     47   $result = $captcha->init($width, $height, $passphrase, $options); 
     48// $result = $captcha->init($height, $width, $passphrase, $options); 
    4549 
    4650if (PEAR::isError($result))