Diff for Metafox/error.inc.php between version 1.2 and 1.3
| version 1.2, 2005/08/13 23:06:13 |
version 1.3, 2005/11/15 17:16:36 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/error.inc.php,v 1.1 2005/06/05 12:13:14 nepto Exp $ */ |
/* $Platon: Metafox/error.inc.php,v 1.2 2005/08/13 23:06:13 nepto Exp $ */ |
| |
|
| require_once 'config/loader.inc.php'; |
require_once 'config/loader.inc.php'; |
| Platon::redirect_test(basename(__FILE__), $ezin_cfg['url']); |
Platon::redirect_test(basename(__FILE__), $ezin_cfg['url']); |
| Line 59 function ezin_php_error_handler($errno, |
|
| Line 59 function ezin_php_error_handler($errno, |
|
| global $ezin_cfg; |
global $ezin_cfg; |
| global $ezin_cgi; |
global $ezin_cgi; |
| |
|
| |
// template function file loading |
| |
if (file_exists($ezin_cfg['theme']['dir'].'/'.$ezin_sys['tmpl']['fnc_file'])) { |
| |
include_once $ezin_cfg['theme']['dir'].'/'.$ezin_sys['tmpl']['fnc_file']; |
| |
} |
| |
|
| $tmpl = ezin_load_template($ezin_sys['tmpl']['error'], 1); |
$tmpl = ezin_load_template($ezin_sys['tmpl']['error'], 1); |
| if ($tmpl != false) { |
if ($tmpl != false) { |
| $tmpl = new HTML_Template_Platon($ezin_sys['tmpl']['error']); |
$tmpl = new HTML_Template_Platon($ezin_sys['tmpl']['error']); |
Platon Group <platon@platon.org> http://platon.org/
|
|