/** * Trigger a PEAR error * * To improve performances, the PEAR.php file is included dynamically. * The file is so included only when an error is triggered. So, in most * cases, the file isn't included and perfs are much better. * * @param string $msg error message * @param int $code error code * @access public */ function raiseError($msg, $code) { //include_once('PEAR.php'); ExternalPluginsManager::Pear(); return PEAR::raiseError($msg, $code, $this->_pearErrorMode); }