Hi Pierre,

> I would like to know if it is possible to set the debug to a certain
> value regarding the user who is connected.
> I put my project in test today, so my company can test it but I don't
> want them to see all the debug stuff.
> But me, I would like to see it.
> To connect to my project, there is an identification, is there a chance
> that i can do something like this :
>
> if($user == "me") { set(debug) to 2 }
>
> It maybe an easy question, but I did not find out a way to do that...
> So if you have an idea, it would be great !

Configure::write('debug', 2);

--
Daniel Hofstetter
http://cakebaker.42dh.com
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to