Return Array (
/ * Project Settings * *
' App_debug ' => false,//whether debug mode is turned on
' App_domain_deploy ' => false,//whether to use a standalone domain name to deploy the project
' App_sub_domain_deploy ' => false,//whether to open the subdomain
' app_plugin_on ' => false,//whether to open the plugin mechanism
' App_file_case ' => false,//check that file capitalization is valid for Windows platform
' App_group_depr ' => '. ',//separator between module groups
' App_group_list ' => ',//project group set, multiple groups separated by commas, such as ' home,admin '
' App_autoload_reg ' => false,//open Spl_autoload_register
' App_autoload_path ' => ' think.util. ',//__autoload mechanism additional detection path settings, note search order
' App_config_list ' => array (' taglibs ', ' routes ', ' tags ', ' htmls ', ' modules ', ' actions '),//project additional needs to load the configuration list, The default includes: taglibs (tag library definition), routes (routing definition), tags (label definition), (htmls) static cache definition, modules (Extension module), actions (extended operation)
/ * Cookie Settings * *
' Cookie_expire ' => 3600,//Coodie validity period
' Cookie_domain ' => ',//COOKIE valid domain name
' Cookie_path ' => '/',//COOKIE path
' Cookie_prefix ' => ',//COOKIE prefix avoids conflict
/ * Default setting * *
' Default_app ' => ' @ ',//default project name, @ indicates current project
' Default_group ' => ' home ',//default grouping
' Default_module ' => ' Index ',//default module name
' Default_action ' => ' index ',//default action name
' Default_charset ' => ' utf-8 ',//default output encoding
' Default_timezone ' => ' PRC ',//default time zone
' Default_ajax_return ' => ' json ',//default AJAX data return format, optional JSON XML ...
' Default_theme ' => ' default ',//template theme Name
' Default_lang ' => ' ZH-CN ',//default language
/* Database Settings * *
' Db_type ' => ' mysql ',//database type
' Db_host ' => ' localhost ',//server address
' Db_name ' => ',//database name
' Db_user ' => ' root ',//username
' Db_pwd ' => ',//password
' Db_port ' => 3306,//Port
' Db_prefix ' => ' think_ ',//database table prefix
' Db_suffix ' => ',//database table suffix
' Db_fieldtype_check ' => false,//whether field type check
' Db_fields_cache ' => true,//enable field caching
' Db_charset ' => ' UTF8 ',//database encoding defaults to use UTF8
' Db_deploy_type ' => 0,//Database Deployment mode: 0 Centralized (single server), 1 distributed (Master-slave server)
' Db_rw_separate ' => false,//database read/write separate master-slave valid
/* Data Cache Settings */
' data_cache_time ' => -1, //data cache expiration
' data_cache_ COMPRESS ' => false, //Data cache compression Cache
' Data_cache_check ' => false, //Data cache checksum cache
' Data_cache_type ' => ' File ', //data cache type, support: file| db| apc| memcache| shmop| sqlite| xcache| apachenote| Eaccelerator
' data_cache_path ' => temp_path,//cache path Settings (Valid only for file-mode caching)
' data_cache_subdir ' => false, //Use of subdirectory caching (automatically create subdirectories based on cache identity hash)
' data_path_level ' = > 1, //subdirectory cache level
/ * ERROR setting * *
' Error_message ' => ' The page you browsed has been temporarily wrong! Please try again later ~ ',//error display information, non-debug mode is valid
' Error_page ' => ',//Error oriented page
/ * Static Cache Settings * *
' html_cache_on ' => false,//default shutdown static cache
' Html_cache_time ' => 60,//static cache expiration
' Html_read_type ' => 0,//static cache read mode 0 ReadFile 1 redirect
' Html_file_suffix ' => '. shtml ',//default static file suffix
/ * Language Settings */
' lang_switch_on ' => false,//default to disable MultiLanguage Pack feature
' Lang_auto_detect ' => true,//automatic detection language is effective when multilingual features are turned on
/ * Log Settings * *
' Log_exception_record ' => true,//whether to log an exception Infolog (default is on)
' Log_record ' => false,//log not logged by default
' Log_file_size ' => 2097152,//log file size limit
' Log_record_level ' => array (' Emerg ', ' ALERT ', ' crit ', ' ERR '),//logging level allowed
/ * Paging Settings * *
' Page_rollpage ' => 5,//Paging page display
' Page_listrows ' => 20,//page showing number of records per page
/ * Session Settings * *
' Session_auto_start ' => true,//whether session is automatically opened
Built-in session class available parameters
' Session_name ' => ',//session Name
' Session_path ' => ',//Session save path
' Session_callback ' => ',//callback function when the session object is deserialized
/ * Run Time setup/*
' Show_run_time ' => false,//run time display
' Show_adv_time ' => false,//show detailed elapsed time
' Show_db_times ' => false,//display database query and write count
' Show_cache_times ' => false,//show number of cache operations
' Show_use_mem ' => false,//display memory overhead
' Show_page_trace ' => false,//Show page trace information assigned by trace file definition and action action
' Show_error_msg ' => true,//Display error message
/ * Template engine settings * *
' Tmpl_engine_type ' => ',//default template engine The following settings are valid only for use of the just-in-a-way template engine
' Tmpl_detect_theme ' => false,//Automatically detect template theme
' Tmpl_template_suffix ' => '. TPL ',//default template file suffix
' Tmpl_content_type ' => ' text/html ',//default template output type
' Tmpl_cachfile_suffix ' => '. php ',//default template cache suffix
' Tmpl_deny_func_list ' => ' echo,exit ',//template engine disable function
' Tmpl_parse_string ' => ',//template engine to automatically replace the string, must be an array form.
' Tmpl_l_delim ' => ' {',//template engine normal label start tag
' Tmpl_r_delim ' => '} ',//template engine normal tag end tag
' Tmpl_var_identify ' => ' array ',//template variable identification. Leave blank automatically to determine that the parameter is ' obj ' to represent the object
' Tmpl_strip_space ' => false,//whether to remove HTML spaces and line wrapping in the template file
' tmpl_cache_on ' => true,//whether to open the template compilation cache, set to False to recompile each time
' Tmpl_cache_time ' =>-1,//template cache validity period-1 is permanent, (in numeric value, in seconds)
' Tmpl_action_error ' => ' public:success ',///Default error jump corresponding template file
' Tmpl_action_success ' => ' public:success ',//default successful jump to the corresponding template file
' Tmpl_trace_file ' => think_path. ' /tpl/pagetrace.tpl.php ',//page trace template file
' Tmpl_exception_file ' => think_path. ' /tpl/thinkexception.tpl.php ',//template file for exception page
' Tmpl_file_depr ' => '/', the separator between the template file Module_name and action_name, only valid for project group deployment
I-am template engine tag Library related settings
' Taglib_begin ' => ' < ',//tag library tag start tag
' Taglib_end ' => ' > ',//tag library tag end tag
' Taglib_load ' => true,//whether to use a tag library other than the built-in tag library, default Auto Detect
' taglib_build_in ' => ' cx ',//built-in tag library name (label use does not need to specify tag library name), separated by commas
' Taglib_pre_load ' => ',//need additional load tag library (must specify tag library name), multiple comma separated
' Tag_nested_level ' => 3,//label nesting level
' Tag_extend_parse ' => ',//Specifies the name of the function that extends the definition and resolution of the normal label.
/ * Form token verification/*
' token_on ' => true,//unlock token verification
' Token_name ' => ' __hash__ ',//token-verified form hidden field name
' Token_type ' => ' MD5 ',//token verification hash rule
/ * URL Settings * *
' Url_case_insensitive ' => false,//URL address is case-insensitive
' url_router_on ' => false,//whether URL routing is turned on
' Url_route_rules ' => Array (),//default routing rule, note: Packet configuration cannot be replaced
' url_dispatch_on ' => true,//whether dispatcher is enabled, no longer takes effect
' Url_model ' => 1,//URL access mode, optional parameters 0, 1, 2, 3, representing the following four modes:
0 (normal mode); 1 (pathinfo mode); 2 (REWRITE mode); 3 (Compatibility mode) defaults to PathInfo mode, providing the best user experience and SEO support
' Url_pathinfo_model ' => 2,//PathInfo mode, uses the numbers 1, 2, 3 to represent the following three modes:
1 Normal mode (parameter has no order, such as/M/MODULE/A/ACTION/ID/1);
2 Intelligent mode (the system defaults to use the mode, can automatically identify modules and operations/module/action/id/1/or/module,action,id,1/...);
3 compatibility Mode (pass PathInfo to Dispather via a Get variable, default to S INDEX.PHP?S=/MODULE/ACTION/ID/1)
' Url_pathinfo_depr ' => '/'////////////PathInfo mode, split symbol between parameters
' Url_html_suffix ' => ',//URL pseudo static suffix settings
' Url_auto_redirect ' => true,//the URL that is automatically redirected to the specification no longer takes effect
/ * System Variable Name set * *
' Var_group ' => ' g ',//default group get variable
' Var_module ' => ' m ',//default module get variable
' Var_action ' => ' a ',//default action get variable
' Var_router ' => ' r ',//default route fetch variable
' Var_page ' => ' P ',//default page Hop transition amount
' Var_template ' => ' t ',//default template toggle Variable
' Var_language ' => ' l ',//default language switch variable
' Var_ajax_submit ' => ' ajax ',//default AJAX submission Variable
' Var_pathinfo ' => ',///PathInfo compatibility mode Get variables for example? S=/MODULE/ACTION/ID/1 the following parameters depend on Url_pathinfo_model and Url_pathi Nfo_depr
);