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
On Apr 25, 6:01 am, AD7six <[EMAIL PROTECTED]> wrote:
>just the model.
This was the tip that I was looking for.
I also needed to add in routes.php the following includes to
instantiate my model
include("../../cake/libs/model/model.php");
include("../../cake/app_model.php");
include("../models/M
On 25 abr, 08:36, Defranco <[EMAIL PROTECTED]> wrote:
> no answers? its so difficulty like that?
>
> /defranco
If you want to put routes in the database, thats one thing, and
googling around I'm sure you'll find some info wrt that.
If you want to access a controller before loading your routes,
no answers? its so difficulty like that?
/defranco
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, se
Hi,
Is possible to call a specific controller function from Routes.php to
retrieve data?
I want to do this due I would like to retrieve Database data to use on
route configuration. How would I do this?
regards
/defranco
--~--~-~--~~~---~--~~
You received this