//$ModuleList[] = 'mod_captcha';
$ModuleList[] = 'mod_catalog';//<-sparky4 needs here .... HELP
//$ModuleList[] = 'mod_code';//<- missing JS and CSS files
-$ModuleList[] = 'mod_code_prettify';//<-sparky4 is here
+//$ModuleList[] = 'mod_code_prettify';//<-sparky4 is here missing CSS file
//$ModuleList[] = 'mod_dummy';
//$ModuleList[] = 'mod_edit';//<-important
說明條目可資參考。
*/
-
-if(version_compare(PHP_VERSION, '5.0.0', '>=')){ // PHP5+
- set_error_handler('PMCCore_errorHandler', E_ERROR | E_WARNING | E_USER_ERROR); // Handle Errors
-}else{
- set_error_handler('PMCCore_errorHandler');
-}
-
-
//error_reporting(E_ALL); // show all errors for debugging
/* Enviorment Settings */
$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
+}else{
+ set_error_handler('PMCCore_errorHandler');
+}
+
/* Lockdown [prevents posting] */
if(file_exists(PHP_DIRECTORY.'lockdown')){
if($_POST['mode'] == 'usrdel' || $_GET['mode'] == 'latest' || $_GET['res']){