Hello together,

i tried and tried the improved captcha....
http://groups.google.com/group/cake-php/browse_thread/thread/1e313f6904b37f1e


Now i see an error and i found an error in the folder.php
The Error came from the Captcha-Component

http://bakery.cakephp.org/articles/view/improved-captcha-component
out of the
function __getFonts() {

                $fonts = array();

                if ($handle = @opendir($this->fontpath)) {

                        while (($file = readdir($handle)) !== FALSE) {

                                $extension = strtolower(substr($file, 
strlen($file) - 3, 3));

                                if ($extension == 'ttf') {

                                        $fonts[] = $file;

                                }

                        }

                        closedir($handle);

                        } else {

                        return null;

                }

                if (count($fonts) == 0) {

                        return null;

                } else {

                        return $fonts;

                }

        } //getFonts

I use the 1.2.0.7692 RC3 Version, but in the final version i see the
same Problem

Can everyone help me?

Many greetings

Marcus Radisch

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to