You could define a function in app/config/bootstrap.php, but in a way that goes against using an MVC framework in the first place. Rather than just stick the logic some place conveinent, why not think about a way to structure your code so that you don't have to?
For example, you could write a custom model that wraps the file and exposes details to the controller, which can be passed to the view as necessary (since the separation between view and controller is the most important). --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
