try putting it in /app/vendors
see http://manual.cakephp.org/chapter/constants for some information
but if it is in vendor then you should be able to do
vendor('date');
I would beware if you are using any of the PEAR stuff since there is a
date class in there that might cause a conflict
On 4/10/07, Dan Ballance <[EMAIL PROTECTED]> wrote:
> Hello good people of the list !
>
> I would like to use the php class available here:
>
> http://lwest.free.fr/doc/php/lib/date-en.html
>
> to handle dates. I have downloaded their file date.php and tried dropping it
> into cake/libs , but when i try to call it from a controller, i get:
>
> Fatal error: Undefined class name 'date' in...
>
> Can anyone explain how or where i can add an additional class to my
> application ?
>
> many thanks in advance,
>
> dan :-)
>
> >
>
--
(the old fart) the advice is free, the lack of crankiness will cost you
- its a fine line between a real question and an idiot
http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---