What are the basic Thinkphp configuration items you used? & Lt ;? Phpdefine (SAMC_ROOT, thinkphp); website directory returnarray (& nbsp; configuration item & gt; Configuration & #20540; & nbsp; APP_GROUP_LIST & nbsp; & gt; Www, Adm Thinkphp basic configuration items. what do you use?
Define ('samc _ root', '/thinkphp'); // Website Directory
Return array (
// 'Config maps '=> 'configuration value'
'App _ GROUP_LIST '=> 'Www, admin', // project grouping settings (you can define multiple items, Www foreground and Admin background)
'Default _ group' => 'WWW ', // DEFAULT GROUP
'URL _ model' => 1, // URL mode
// 'Load _ ext_config' => 'config1, config2 ,...... ', // Load the configuration file under the extension Conf/
// 'Load _ EXT_FILE '=> 'myfunc, myfile', // LOAD the php file under the Extended common/or manually load ("@. myfunc ")
// 'URL _ HTML_SUFFIX '=> 'html', // static suffix
// 'Tmpl _ TEMPLATE_SUFFIX '=> '.html', // template file suffix, suffix .html
// 'App _ FILE_CASE '=> true, // check the file case
// 'Session _ prefix' => 'My, // SESSION PREFIX
'Upload _ root' => SAMC_ROOT. '/UPLOAD /',
'Db _ config' => array ('dbhost' => 'localhost ',
'Dbname' => 'dbname ',
'Dbuser' => 'dbuser ',
'Dbpwd' => 'dbpwd'
), // Configure the database
);
?>
If you have any questions, contact me: 769871707@qq.com or http://php.ranran1991.com.