On Apr 25, 10:09 pm, Defranco <[EMAIL PROTECTED]> wrote:

> include("../../cake/libs/model/model.php");
> include("../../cake/app_model.php");
> include("../models/MyModel.php"); //my model php file

Latter I discovered that these includes on routes.php was a bad idea
as the redeclaration of model.php caused an error white I tried to use
requestAction on a total different controller:

"Fatal error: Cannot redeclare class Model in ...\cake\libs\model
\model_php5.php on line 1662:

any idea to avoid this? I think that I need to change the cake's files
to avoid redeclarations issues;

/defranco


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

Reply via email to