From c92659bb29b47bd82aca5d405f71976d2e82e4b7 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Wed, 23 Feb 2011 02:27:31 -0600 Subject: [PATCH] modified: yotsubanome.php --- yotsubanome.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/yotsubanome.php b/yotsubanome.php index 17f00b8..7026529 100755 --- a/yotsubanome.php +++ b/yotsubanome.php @@ -52,8 +52,6 @@ PHP 4.4.9 或更高版本並開啟 GD 和 Zlib 支援,如支援 ImageMagick 說明條目可資參考。 */ -//error_reporting(E_ALL); // show all errors for debugging - /* Enviorment Settings */ // Do not change unless you renamed the directories define("PHP_DIRECTORY", '../test/'); // yotsubanome "C:\windows\system\" @@ -71,9 +69,10 @@ include_once(PHP_DIRECTORY.'lib/lib_pte.php'); // 引入PTE外部函式庫 $PTE = new PTELibrary(TEMPLATE_FILE); // PTE Library if(version_compare(PHP_VERSION, '5.0.0', '>=')){ // PHP5+ - set_error_handler('PMCCore_errorHandler', E_ERROR | E_WARNING | E_USER_ERROR); // Handle Errors + set_error_handler('PMCCore_errorHandler', E_ERROR | E_WARNING | E_USER_ERROR); // Handle Errors }else{ - set_error_handler('PMCCore_errorHandler'); + //---- set_error_handler('PMCCore_errorHandler'); + error_reporting(E_ALL); // show all errors for debugging } /* Lockdown [prevents posting] */ -- 2.39.5