Home > CMS Tutorial > DEDECMS > How to change the name of the default folder in DEDECMS?

How to change the name of the default folder in DEDECMS?

(*-*)浩
Release: 2019-12-11 14:52:46
Original
2386 people have browsed it

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'; 在这一行的上面有标记——//模板的存放目录
Copy after login
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 directly

The 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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template