thinkphp system configuration is in array form, configuration file address: bin/conf/config.php
Check_file_case--Strict check case under Windows environment.
/* Project Settings */
' App_debug ' = false,//whether to turn on debug mode
' App_domain_deploy ' = false,//whether to use standalone Domain name deployment project
' app_plugin_on ' = false,//whether the plug-in mechanism is turned on
' App_file_case ' = false,//whether check file capitalization is valid for Windows platform
' App_group_depr ' and '. ',//divider between module groupings
‘app_group_list' = = ',//Item grouping settings, multiple groups separated by commas, e.g. ' home,admin '
' App_autoload_reg ' = false,//whether open Spl_autoload_register
' App_autoload_path ' and ' think.util ',//__autoload mechanism additional detection path settings, attention to search order
' app_config_list ' = = Array (' taglibs ', ' routes ', ' tags ', ' htmls ', ' modules ', ' actions '),//Project additional configuration list to load, Default includes: taglibs (tag library definition), routes (route definition), tags (tag definition), (htmls) static cache definition, modules (extension), actions (extended operation)
/* Cookie Settings */
' Cookie_expire ' = 3600,//Coodie validity
' Cookie_domain ' = ', '//COOKIE valid domain name
' Cookie_path ' = '/',//COOKIE path
' Cookie_prefix ' + ', '//COOKIE prefix avoids conflicts
/* 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 code
' 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 ',//user name
' Db_pwd ' and ' = ',//password
' Db_port ' = 3306,//Port
' Db_prefix ' = ' think_ ',//database table prefix
' Db_suffix ' = ', '//database table suffix
' Db_fieldtype_check ' = false,//whether field type checking is performed
' Db_fields_cache ' = = true,//enable field caching
' Db_charset ' = ' utf8 ',//Database encoding defaults to UTF8
' Db_deploy_type ' + 0,//Database deployment method: 0 Centralized (single server), 1 distributed (Master-slave server)
' Db_rw_separate ' = false,//database read/write is separate master-slave valid
/* Data Cache Settings */
' data_cache_time ' = > -1, //Data cache validity period
' data_cache_compress ' = false, //data cache whether the cache is compressed
' data_cache_check ' + false, //data cache Check Cache
& nbsp; ' data_cache_type ' = ' File ',//data cache type, supported by: 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 a subdirectory cache (automatically create subdirectories based on the hash identified by the cache)
' data_path_level ' = 1, //Sub-directory cache level
/* ERROR setting */
' Error_message ' + ' the page you're viewing has a temporary error! Please try again later ~ ',//error display information, non-debug mode valid
' Error_page ' and ' = ',//error-directed page
/* Static Cache Settings */
' html_cache_on ' = false,//default off 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,//Turn off the multi-language pack feature by default
' Lang_auto_detect ' + true,//auto-detect language effective after opening multi-language function
/* Log Settings */
' Log_record ' = false,//log not logged by default
' Log_file_size ' = 2097152,//log file size limit
' Log_record_level ' = = Array (' Emerg ', ' ALERT ', ' crit ', ' ERR '),//allow logging of log levels
*/* Paging settings */
' page_rollpage ' = 5, //pagination display pages
' Page_ LISTROWS ' = 20, //pagination shows the number of records per page
/* SESSION settings */
' session_auto_ Start ' = true, //Whether automatically open session
//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 settings */
' Show_run_time ' = false,//run time display
' Show_adv_time ' = false,//show verbose run time
' Show_db_times ' = false,//display database query and write times
' Show_cache_times ' = false,//show cache operations
' Show_use_mem ' = false,//display memory overhead
' Show_page_trace ' = false,//Display page trace information is assigned by the trace file definition and action action
' Show_error_msg ' + true,//Display error message
/* Template engine settings */
' Tmpl_engine_type ' = ' Think ',//default template engine The following settings are only valid for use with the Think template engine
' Tmpl_detect_theme ' = false,//auto-detect template Theme
' Tmpl_template_suffix ' = '. html ',//default template file suffix
' 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 tag start tag
' Tmpl_r_delim ' + '} ',//template engine plain tag end tag
' Tmpl_var_identify ' = ' array ',//template variable recognition. Leave blank to automatically determine that the parameter is ' obj ' to indicate the object
' Tmpl_strip_space ' = false,//whether to remove HTML spaces and line breaks inside 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, (numeric value, unit: seconds)
' Tmpl_action_error ' = ' public:success ',//default error jump corresponding template file
' tmpl_action_success ' + ' public:success ',//default successfully 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 ' + '/',//template file Module_name with Action_name, only valid for project group deployment
Think template engine tag library related settings
' Taglib_begin ' = ' < ',//tag library tag start tag
' Taglib_end ' = ' > ',//tag library tag end tag
' Taglib_load ' + true,//whether using a tag library other than the built-in tag library, the default automatic detection
' taglib_build_in ' + ' cx ',//built-in tag library name (tag use does not have to specify tag library name), separated by commas
' Taglib_pre_load ' + ',//tag library required for additional loading (specify tag library name), multiple comma-delimited
' Tag_nested_level ' = 3,//Tag nesting level
' Tag_extend_parse ' + ',//Specifies the name of the function that extends the definition and parsing of ordinary tags.
/* Form Token validation */
' token_on ' + true,//enable token authentication
' Token_name ' = ' __hash__ ',//token-validated form hidden field name
' Token_type ' = ' md5 ',//token validation hash rule
/* URL Settings */
' Url_case_insensitive ' = false,//URL address is case-insensitive
' url_router_on ' = false,//whether to turn on URL routing
' url_dispatch_on ' = true,//whether dispatcher is enabled
' 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 (compatible mode) effective when url_dispatch_on is turned on; Default to PathInfo mode, providing the best user experience and SEO support
' Url_pathinfo_model ' + 2,//PATHINFO mode, using numbers 1, 2, 3 for the following three modes:
1 Normal mode (parameters have no order, e.g./M/MODULE/A/ACTION/ID/1);
2 Intelligent Mode (default mode used by the system, can automatically identify modules and operation/module/action/id/1/or/module,action,id,1/...);
3 compatibility Mode (PathInfo passed to Dispather via a Get variable, s INDEX.PHP?S=/MODULE/ACTION/ID/1 by default)
' Url_pathinfo_depr ' + '/',///PATHINFO mode, split symbol between each parameter
' Url_html_suffix ' + ',//URL pseudo static suffix set
/* System Variable name setting */
' Var_group ' = ' g ',//default group get variable
' Var_module ' = ' m ',//default module get variable
' Var_action ' = ' a ',//default action gets variable
' Var_router ' = ' r ',//default route get variable
' Var_page ' = ' P ',//default page Jump transition amount
' Var_template ' = ' t ',//default template toggle Variable
' Var_language ' = ' l ',//default language toggle Variable
' Var_ajax_submit ' = ' ajax ',//default AJAX commit variable
' Var_pathinfo ' + ' s ',///PATHINFO compatibility mode Get variables for example? The parameters after S=/MODULE/ACTION/ID/1 depend on Url_pathinfo_model and Url_pathinfo _depr
thinkphp Full Configuration config.php