Under the gorgeous split line, You need to modify and configure the specific implementation method: cong. php [php] <? Php return array (// it is best to delete some ~ App. php and ~ Runtime. php // 'configuration' => 'configuration value' // because the URL is enabled again, whether it is overwritten or not overwritten, can be accessed through the original path // If You Want To enable the rewrite mode, you need to do the following operations // 1. the query server has enabled the Apache rewrite module // LoadModule rewrite_module modules/mod_rewrite.so // 2. create a new one under the statistics directory of the master portal file. htaccess (vi: save. htaccess; notepad :". htaccess ") // if you select mode 2 (rewrite), the server will consume more 'url _ model' => 1, 'url _ PATNINFO_MODEL '=> 2, // pathinfo contains two classes // 1 normal mode: m and a: The order relationship can change // http: // localhost/MyThinkPHP/admin. php/m/index/ /Index // pass the value // http: // localhost/MyThinkPHP/admin. php/m/index/a/index/username/zhangsan/password // 2 Intelligent Identification Module operation (Intelligent identification is the default mode) // http: // localhost/MyThinkPHP/admin. php/index // pass the value // http: // localhost/MyThinkPHP/admin. php/index/username/zhangsan/password // modify the URL separator // 'url _ pathinfo_depr' => '-', // modify the Left and Right delimers of the template 'tmpl _ L_DELIM '=>' <! -- {', 'Tmpl _ R_DELIM' => '} --> ', // ************************************ very gorgeous split line ** *********************************** // enable debugging mode // 1. simulate a linux system to identify the case. // 2. the case sensitivity of the method name is related to the case sensitivity of the template file 'app _ debug' => true, // you can customize the Trace information of the page. // The Trace information of the configuration file path is configured in pageTrace under Thinkphp/Tpl. tpl. php // custom method: // 'tmpl _ TRACE_FILE '=> APP_PATH. '/Public/trace. php ', // or custom trace. put the php page in the current Conf folder // default debugging File Location: // ThinkPHP/Common/debug. php // do not cache database fields; if enabled You can delete the files under Runtim/Data. // 'db _ FIELDS_CACHE '=> false, // you can customize the debug. put php in the current Conf folder // set APP_DEBUG to false and add the following parameter // 'app _ debug' => false, // display running times the time required for this page // 'show _ RUN_TIME '=> true, // display the detailed running time (based on SHOW_RUN_TIME) // 'show _ ADV_TIME '=> true, // display the number of database operations (based on SHOW_RUN_TIME) // 'show _ DB_TIMES' => true, // display the number of cached operations (based on SHOW_RUN_TIME) // 'show _ CACHE_TIMES '=> true, // display the memory overhead (based on SHOW_RUN_TIME) // 'show _ USE_MEM '=> true, // set Set the template // 'default _ THEME '=> 'default', // log processing class: lib/Think/Core/log. class. php // enable the LOG 'Log _ RECORD '=> true, // log processing class: lib/Think/Core/log. class. php has a processing level. You can choose to add 'Log _ RECORD_LEVEL '=> array ('emerg', 'alert '),);?> Use [php] In the action: // Model debugging (the operation statement executed in the database) $ User = new Model ('user'); $ User-> find (1 ); // obtain the last executed SQL echo $ User-> getLastSql (); // use: Log information, Log level, Log type, and specific information Log :: write ("aa", $ level, $ type, $ file); // The record method writes information to the memory.