How to install custom modules in Kohana 3 framework
Posted
by BPS
on Stack Overflow
See other posts from Stack Overflow
or by BPS
Published on 2010-06-02T14:14:29Z
Indexed on
2010/06/02
14:23 UTC
Read the original article
Hit count: 664
I'm learning framework KohanaPhp 3 and I have a problem with adding a module called kolanos-Kohana-captcha.
What I've done so far is:
- I copied the directory kolanos-kohana-captcha into modules directory
- Copied kolanos-kohana-captcha/config/captcha.php to file application/config/captcha.php
- Edited the file and added Bootstrap.php
Kohana::modules(array (... 'captcha' => MODPATH."kolanos-kohana-captcha ', ));
But it does not work: (Whenever I want to use class Captcha kohana shows the error "class not found."
I'm doing something wrong? Is this a problem with the module? There are some other modules to handle the captcha in Kohana 3+?
© Stack Overflow or respective owner