That's it Mark, thanks!
--~--~-~--~~~---~--~~
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.
i usually use $this->log()
as everything usually inheritades from "object" class
On 26 Mai, 08:56, Jules wrote:
> I've written a panic() function which resides in config/bootstrap.php,
> and can be called from anywhere in my CakePHP app. The idea is that
> it is called when the site admin (me
well, except for the boostrap files of course
although, the function is used like this:
function write($type, $msg) {}
first type, then msg!!!
so this might be your problem...
with $this->log() its the other way around
On 26 Mai, 08:56, Jules wrote:
> I've written a panic() function which re
I've written a panic() function which resides in config/bootstrap.php,
and can be called from anywhere in my CakePHP app. The idea is that
it is called when the site admin (me) needs to know that something has
happened. I want it to fire and email and write to the log. To write
to the log, I'm