Wemall App Store source code in PHP-based thinkphp Convention configuration file

Source: Internet
Author: User
Tags apc

Wemall Doraemon is the Android client program, the server uses Wemall Mall, do not make any changes to the original mall, only need to upload the interface file in the original mall directory to complete the server configuration, the client can be arbitrarily customized modification. This article shares some of the thinkphp convention profile codes for technician reference learning.

<?php/** * thinkphp Custom profile * This file please do not modify, if you want to override the custom configuration of the value, can be set in the project configuration file and the custom configuration item * Configuration name is arbitrary, the system will be converted to lowercase * All configuration parameters can be changed dynamically before effective * @ Category Think * @package Common * @author liu21st <[email protected]> * @version $Id: convention.php 3088 2012-07-29 09:12:19z [email protected] $ */defined (' Think_path ') or exit (); return Array (/* Project set */' App_statu  S ' = ' debug ',//apply debug mode when debug mode is on, the default is debug to expand and automatically load the corresponding profile ' app_file_case ' + false,// Whether to check the case of the file is valid for Windows platform ' app_autoload_path ' = ' + ',//automatic loading mechanism of the automatic search path, note the search order ' app_tags_on ' = True    ,//System label Expansion switch ' app_sub_domain_deploy ' = false,//whether to turn on sub-domain deployment ' app_sub_domain_rules ' = + Array (),//Sub-domain deployment rules ' App_sub_domain_deny ' = = Array (),//Subdomain disabled list ' app_group_list ' + ', '//project grouping set, multiple groups separated by commas, for example ' Ho  Me,admin ' App_group_mode ' + 0,//Group mode 0 Normal Group 1 Independent group ' App_group_path ' + ' Modules ',//group directory Stand-alone grouping mode under effective ' Action_suffIX ' + = ',//Operation method Suffix/* COOKIE set */' Cookie_expire ' + 0,//coodie validity period ' cookie_domain ' + = ',//cookie valid domain name ' cookie_path ' + '/',//cookie path ' Cookie_prefix ' =&gt ;       ',///Cookie prefix avoidance conflict/* default setting */' default_m_layer ' + ' model ',//Default layer name ' Default_c_layer '     = = ' Action ',//Default controller layer name ' default_v_layer ' = ' Tpl ',//default view layer name ' default_app ' = ' @ ',    The default project name, @ means the current project ' default_lang ' = ' zh-cn ',//default language ' default_theme ' = ', '//default template theme name        ' 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_jsonp_handler ' = ' jsonpreturn ',//default JSONP format returned to the placeMethod ' Default_filter ' + ' htmlspecialchars ',//default parameter filtering method for $this->_get (' variable name '), $this->_post (' variable name ') ...     /* 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 ' + ',//Port ' db_prefix ' = '        Think_ ',//database table prefix ' Db_fieldtype_check ' = false,//whether field type check ' Db_fields_cache ' = true, Enable field cache ' Db_charset ' + ' UTF8 ',//database encoding by default with UTF8 ' Db_deploy_type ' + 0,//Database Department Department Mode: 0 Centralized (single server), 1 distributed (Master-slave server) ' Db_rw_separate ' and false,//database read/write whether separate master-slave effective ' db_master_num ' = 1,//read/write separation of the number of the master servers ' db_slave_no ' + ',//Specify from server ordinal ' Db_sql_build_cache ' and false,//database query SQL creation Cache ' Db_sql_builD_queue ' + ' file ',///SQL cache queue cache supports file XCache and APC ' db_sql_build_length ' +,//SQL cache Queue Length ' db_s    Ql_log ' = false,///SQL execution logging/* Data Cache Settings */' data_cache_time ' + 0,//data cache validity 0 means persistent cache ' Data_cache_compress ' = false,//data cache is compressed cache ' Data_cache_check ' and false,//data cache check cache ' Data_ca Che_prefix ' + ',//cache prefix ' 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 cache) ' Data_cache_subdir ' = False,         Use a subdirectory cache (automatically create subdirectories based on the hash identified by the cache) ' Data_path_level ' + 1,//subdirectory cache level/* ERROR setting */' error_message ' = = ' Page Error! Please try again later ~ ',//error display information, non-debug mode valid ' error_page ' = ', '//Error-directed page ' show_error_msg ' = false,//Display error message    ' Trace_exception ' = false,//Trace error message whether to throw exception for trace method/* Log set */' Log_record '        = = False,//default does not log ' log_type ' = 3,//logging type 0 System 1 message 3 file 4 SAPI default to file Mode ' Log_dest ' = = ',//logging target ' log_extra ' + ', '//Logging additional information ' log_level ' = ' emer ' G,alert,crit,err ',//allow logging of log levels ' log_file_size ' = 2097152,//log file size limit ' Log_exception_record ' and false       ,//whether to record Exception Log/* Session settings */' session_auto_start ' = = true,//whether to automatically open SESSION ' Session_options ' = = Array (),//session configuration array support TYPE name ID path expire domain parameters ' session_type ' = ', '//Session Han Der Type is not set by default unless extended session hander Driver ' session_prefix ' = ',//session prefix//' var_session_id ' + ' SE Ssion_id ',//sessionid's commit variable/* template engine settings */' tmpl_content_type ' = ' text/html ',//default template output type ' Tmpl_action_ ERROR ' = Think_path. ' Tpl/dispatch_jump.tpl ',//default error jump corresponding template file ' tmpl_action_success ' = Think_path. ' Tpl/dispatch_jump.tpl ',//default successJump to the corresponding template file ' Tmpl_exception_file ' and Think_path. '  Tpl/think_exception.tpl ',//Exception page template file ' tmpl_detect_theme ' = false,//Auto Detect template theme ' Tmpl_template_suffix '    = '. html ',//default template file suffix ' tmpl_file_depr ' + '/',///template file Module_name and action_name/* URL settings */  ' Url_case_insensitive ' = false,//default false means URL is case-sensitive true indicates case-insensitive ' 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_depr ' + '/',//PATHINFO mode, split symbol between each parameter ' Url_pathinfo_f        ETCH ' = ' orig_path_info,redirect_path_info,redirect_url ',//list of server substitution variables for compatibility with path_info parameters ' Url_html_suffix ' = ' html ',//url pseudo static suffix set ' url_deny_suffix ' = ' ico|png|gif|jpg ',//url Forbidden suffix set ' url_params_bi    ND ' = True,//URL variable bound to action method parameter ' Url_404_redirect ' + ',//404 Jump Page Deployment Mode valid/* system variable name setting */ ' Var_grouP ' = ' g ',//default group gets variable ' var_module ' = ' m ',//default module gets variable ' var_action ' =&gt ; ' A ',//The default action gets the variable ' var_ajax_submit ' = ' ajax ',//default AJAX commit variable ' var_jsonp_handler ' = ' callback ', ' Var_        PATHINFO ' + ' s ',///PATHINFO compatibility mode Get variables for example, the parameters after s=/module/action/id/1 depend on Url_pathinfo_depr ' var_url_params '   = ' _url_ ',//PATHINFO URL parameter variable ' var_template ' + ' t ',//default template toggle variable ' var_filters ' =    ' Filter_exp ',///Global system variable default filtering method multiple comma-separated ' output_encode ' and false,//page compression output ' Http_cache_control ' = ' private ',//Web cache control);

  

Original Details Address: http://git.oschina.net/zzunet/wemall-doraemon/commit/e8f303df5663dc69fe47bb9623222149d40e3956

Wemall doraemonandroid App Store details address: http://www.koahub.com/home/product/55

Wemall website Address: http://www.wemallshop.com

Wemall Open Source Micro-mall, mall, mall source code, level three distribution, micro-fresh, micro-fruit, micro-takeaway, micro-ordering---professional system

Wemall App Store source code in PHP-based thinkphp Convention configuration file

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.