as a vendor? :)
in my case it is in plugin vendor (but could also be app one)
my example:
App::import('Vendor', 'Tools.nbbc/nbbc');
class BbcodeLib extends BBCode {
public function __construct($settings = array()) {
parent::BBCode();
//custom overrides
}
//custom overrides
}
App::uses('BbcodeLib', 'Tools.Lib');
$BbcodeLib = new BbcodeLib();
and call it with $BbcodeLib->parse();
On 5 Jan., 19:53, Daniel <[email protected]> wrote:
> I got that error too when I ran the test script test_nbbc. Also I was
> not sure where to install nbbc, because I could not run the test
> script if I just installed under my app folder as cake would mistake
> the folder for a controller.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php