Project

General

Profile

« Previous | Next » 

Revision 542

Added by thorn almost 17 years ago

fixed #532 - PHP Error levels

View differences:

initialize.php
51 51
	$string_dir_mode = STRING_DIR_MODE;
52 52
	define('OCTAL_DIR_MODE',(int) octdec($string_dir_mode));
53 53
	
54
	// set error-reporting
55
	if(is_numeric(ER_LEVEL)) {
56
		error_reporting(ER_LEVEL);
57
	}
58

  
54 59
	// Start a session
55 60
	if(!defined('SESSION_STARTED')) {
56 61
		session_name(APP_NAME.'_session_id');

Also available in: Unified diff