Hi everyone.

If I want to use constants within my model code and have those the
constants defined within a separate file (i.e. /
english_constants.php), where can I call require_once('constants.php)
so that my "whole" application (models, views and controllers) can see
those constants?

If I put it in the AppController::beforeFilter(), the constants don't
seem to be available within the model.

Thanks
Turgs

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