Home > Article > CMS Tutorial > How to change the name of the default folder in DEDECMS?
1.First find the system configuration file. Generally, this file will be stored in the Include directory, and the file name is: common.inc.php.
2.Open common.inc.php, take modifying the template directory templates as an example #Find:
$cfg_templets_dir = $cfg_cmspath.'/templets'; 在这一行的上面有标记——//模板的存放目录3. Change the blue part above to the folder name you want, for example: dedecms_muban. 4. We still need to continue to modify, and we also need to rename the Templets to: dedecms_muban.
that's it.
The same method as the DEDE template can be used to modify the plug-in directory, membership directory, etc.
dedecms background login can also be modified, just modify the folder name directlyThe above is the detailed content of How to change the name of the default folder in DEDECMS?. For more information, please follow other related articles on the PHP Chinese website!