Initial commit.
This commit is contained in:
16
lib/php/monica/errhndl.inc.php
Normal file
16
lib/php/monica/errhndl.inc.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
// File name: errhndl.inc.php
|
||||
// Description: PHP subroutine for some error handlers
|
||||
// Date: 2004-05-28
|
||||
// Author: imacat <imacat@pristine.com.tw>
|
||||
// Copyright: Copyright (C) 2004-2007 Pristine Communications
|
||||
|
||||
// null_error_handler: Temporarily disable the normal error handler
|
||||
// $php_errormsg was set in the original error handler. We have to set it manually.
|
||||
function null_error_handler($no, $message, $file, $line, $context)
|
||||
{
|
||||
$GLOBALS["php_errormsg"] = $message;
|
||||
return;
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user