El 26/09/2008, a las 11:53, luigi7up escribió:

> As I understood old method define(); is much better because it uses
> php native way to define constants and latter on to use that constant
> you just call it like this: _CONSTANT_NAME.


Configure is not intended for define constants.  It's a flexible way  
to read and write application-wide configuration data.

http://book.cakephp.org/view/42/The-Configuration-Class

Constants are OK for multiple purposes.



--
Fran Iglesias
[EMAIL PROTECTED]





--~--~---------~--~----~------------~-------~--~----~
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