<?php
return array(
	'mode' => 'debug', //debug 开启php错误提示
	'sp_core_path' => I_PATH, 
	'sp_drivers_path' => I_PATH, 
	'mode' => 'debug', // 开启php错误提示
	'sp_core_path' => I_PATH, 
	'sp_drivers_path' => I_PATH, 
	'sp_include_path' => array( I_PATH.'/ext' ),
	'sp_include_path' => array( I_PATH.'/ext' ),
	
	'auto_load_controller' => array('sysParams'), 
	'auto_load_model' => array('syPager','syVerifier','syCache'), 
	'allow_trace_onrelease' => FALSE, 
	
	'sp_error_show_source' => 5, 
	'sp_error_throw_exception' => FALSE, 
	'allow_trace_onrelease' => FALSE, 
	'notice_php' => I_PATH."/notice.php", 
	
	'inst_class' => array(), 
	'import_file' => array(), 
	'sp_access_store' => array(), 
	'view_registered_functions' => array(), 

	'default_controller' => 'index', 
	'default_action' => 'index',  
	'url_controller' => 'c',  
	'url_action' => 'a',  

	'auto_session' => TRUE, 
	'dispatcher_error' => "syError('route Error');", 
	'auto_sp_run' => FALSE, 
	
	'sp_cache' => I_PATH.'/cache/tmp',
	'sp_session' => I_PATH.'/cache/ses',
	'sp_app_id' => 'sy',
	'controller_path' => APP_PATH.'/admin', 
	'model_path' => I_PATH.'/class', 

	'url' => array( 
		'url_path_info' => FALSE, 
		'url_path_base' => '', 
	),
	
	'db' => array(
		'driver' => 'mysql',
		'persistent' => FALSE,
	),
	'db_driver_path' => '',
	'db_spdb_full_tblname' => FALSE,
	
	'view' => array( 
		'enabled' => TRUE, 
		'config' =>array(
			'template_dir' => APP_PATH.'/template',
			'template_tpl' => I_PATH.'/cache/tpl',
		),
		'engine_name' => 'templatei', 
		'engine_path' => I_PATH.'/Template.php', 
	),

		
	'html' => array( 
		'enabled' => TRUE, 
		'safe_check_file_exists' => FALSE, 
	),
	
	'lang' => array(), 
		
	'include_path' => array(
		I_PATH.'/fun',
	),
	
	'vercode' => 1,
	
	'rewrite' => array( 
		'rewrite_open' => 0,
		'rewrite_dir' => '/',
		'rewrite_article' => 'a_{file}/{page}.html',
		'rewrite_article_type' => 'al_{tid}/{page}.html',
		'rewrite_product' => 'p_{file}.html',
		'rewrite_product_type' => 'pl_{tid}/{page}.html',
		'rewrite_message_type' => 'ml_{tid}/{page}.html',
		'rewrite_special' => '{special}_{sid}_{page}.html',
		'rewrite_labelcus_custom' => '{file}.html',
	),
);
