Diff for Metafox/error.inc.php between version 1.12 and 1.13
| version 1.12, 2007/11/25 01:59:26 |
version 1.13, 2011/05/24 18:00:30 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/error.inc.php,v 1.11 2007-11-12 16:12:55 nepto Exp $ */ |
/* $Platon: Metafox/error.inc.php,v 1.12 2007-11-25 01:59:26 nepto Exp $ */ |
| |
|
| require_once 'cfgldr.inc.php'; |
require_once 'cfgldr.inc.php'; |
| require_once 'functions.inc.php'; |
require_once 'functions.inc.php'; |
| Line 25 require_once 'HTML/Template/Platon.php'; |
|
| Line 25 require_once 'HTML/Template/Platon.php'; |
|
| |
|
| function ezin_php_error_handler($errno, $errstr, $errfile, $errline) /* {{{ */ |
function ezin_php_error_handler($errno, $errstr, $errfile, $errline) /* {{{ */ |
| { |
{ |
| |
global $ezin_cgi; |
| |
|
| if (! ($errno & error_reporting())) { |
if (! ($errno & error_reporting())) { |
| return; |
return; |
| } |
} |
| if (0) { |
if ($ezin_cgi['output'] == 'admin') { |
| echo "<hr><b>ERROR:</b> $errno:$errstr:$errfile:$errline<br>\n"; |
echo "<hr><b>ERROR:</b> $errno:$errstr:$errfile:$errline<br>\n"; |
| return; |
return; |
| } |
} |
Platon Group <platon@platon.org> http://platon.org/
|
|