Posted By

jamepaul on 09/24/10


Tagged

modx errorreporting


Versions (?)

Fix error split deprecated in modx(CMS)


 / Published in: PHP
 

URL: http://modxcms.com/forums/index.php?action=printpage;topic=37293.0

  1. error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED); // for config
  2.  
  3. if (error_reporting() == 0 || $nr == 0 || (error_reporting() & $nr) != $nr || ($nr == 8 && $this->stopOnNotice == false)) // for document.parser.class.php

Report this snippet  

You need to login to post a comment.