yes the Requesthandler is in use and the debug level is set correctly to 0 but errors and notices doesn't care. It seems the backtrace is added before the debug level is set in AppController? When i set the debug level in core.php it works as i desired.
On 18 Aug., 15:06, [email protected] wrote: > > Hello, > > > could anybody explain this behavior? i set in my app controller > > > if($this->RequestHandler->isAjax()) { > > $this->layout = 'ajax'; > > $this->autoRender = false; > > Configure::write('debug', 0); > > } > > > but notices and errors are even so sent. only when i set in core.php > > the debug level to 0, no notices etc. occures. > > if requesthandler is working, you can do > > if($this->params['isAjax']==1) { > $this->layout = 'ajax'; > $this->autoRender = false; > Configure::write('debug', 0); > } > > > > > > > > > > > greetings > > > -- > > Our newest site for the community: CakePHP Video Tutorials > >http://tv.cakephp.org > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > > [email protected] For more options, visit this group > > athttp://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
