コード例 #1
0
ファイル: cvs.php プロジェクト: hugcoday/wiki
 /**
  * Called when something happened that causes the CVS backend to
  * fail.
  */
 function _cvsError($msg = "no message", $errline = 0, $errfile = "lib/WikiDB/backend/cvs.php", $errno = EM_FATAL_ERRORS)
 {
     $err = new PhpError($errno, "[CVS(be)]: " . $msg, $errfile, $errline);
     // send error to the debug routine
     $this->_cvsDebug($err->asXML());
     // send the error to the error manager
     $GLOBALS['ErrorManager']->handleError($err);
 }