Index: branches/unlabeled/unlabeled-1.65.4/core/kernel/processors/main_processor.php =================================================================== diff -u -r6826 -r6881 --- branches/unlabeled/unlabeled-1.65.4/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 6826) +++ branches/unlabeled/unlabeled-1.65.4/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 6881) @@ -935,4 +935,14 @@ $email_object->attachFile($path); } } + + function CaptchaImage($params){ + $captcha_helper =& $this->Application->recallObject('CaptchaHelper'); + $captcha_helper->GenerateCaptchaImage( + $this->Application->RecallVar($this->Application->GetVar('var')), + $this->Application->GetVar('w'), + $this->Application->GetVar('h'), + true + ); + } }