XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
errorhandler.php
Go to the documentation of this file.
1 <?php
20 defined('XOOPS_ROOT_PATH') or die('Restricted access');
21 
22 xoops_loadLanguage('errors');
23 
24 XoopsLoad::load('xoopslogger');
25 
26 $GLOBALS['xoopsLogger']->addDeprecated("'/class/errorhandler.php' is deprecated since XOOPS 2.5.4, please use 'class/logger/xoopslogger.php' instead.");
27 
28 
41 {
45  function activate($showErrors = false)
46  {
47  $this->activated = $showErrors;
48  }
49 
53  function renderErrors()
54  {
55  return $this->dump('errors');
56  }
57 }
58 
59 ?>