If I remember correctly, just turn off debug, then the describe
information will not be shown!
Enjoy,
   John

On Oct 15, 2:51 pm, SuMiT KuMaR <sumi.ya...@gmail.com> wrote:
> I have many models used in the admin. Even for the login screen it
> describes all the models/tables. I want to restrict the DESCRIBE
> statement on certain pages.
>
> Can this be done?
>
> Something like below:
> [code]
> (default) 38 queries took 58 ms Nr      Query   Error   Affected        Num. 
> rows       Took
> (ms)
> 1       DESCRIBE `admins`               9       9       3
> 2       DESCRIBE `admin_types`          3       3       1
> 3       DESCRIBE `sections`             4       4       1
> 4       DESCRIBE `admins_sections`              3       3       1
> 5       DESCRIBE `pages`                7       7       1
> [/code]
>
> Thanks
> Sumit
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to