Are you saying that cake is appending debug info to your css and js files?
I've never had this happen but I often run into a similar issue with Ajax
calls when debugging is turned on. This is the solutions to turn off
debugging if it is an Ajax request, hopefully you can modify it to fit your
situation.
(this code uses the RequestHandler componenet as an example to determine if
a call isAjax())
in app_controller.php:
function beforeFilter() {
if($this->RequestHandler->isAjax()) {
Configure::write("debug",0);
}
}
On Mon, Nov 16, 2009 at 5:38 AM, hlidotbe <[email protected]> wrote:
> Hi,
>
> I'm trying to use the "magic" feature of cakephp for plugins css, js
> and images. It works fine for images but the debug log is not turned
> off in css and js files.
> For now I've modified the dispatcher to disable log in these cases but
> I'd rather keep the core cake untouched. Is there a way to keep the
> debug log in development only for "real" views?
>
> Thanks,
> Hugues
>
> --
>
> 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]<cake-php%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/cake-php?hl=.
>
>
>
--
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=.