eyoucms How to prevent template paths from being exposed
Version number: 1.47 or above
【Operation steps】
1、First in the template directory /template Create the corresponding subdirectory, such as: style1
2、 Will be pc or mobile Wait for copying the template directory file to style1
3、Go to the backend template style drop-down in the [Basic Information]-[Core Settings] in the backend, you can see the relevant style directory and switch it;
4、If you want to avoid exposure of the template file path, it is recommended to change the template file skin Move out to the root directory and put the template CSS,JS,IMAGES Change to relative path, {eyou:static file="skin/css/app.css" /}Change to relative path (Note: There is an extra red slant ){eyou:static file="/skin/css/app.css" /}
Template Directory /template Rule description:
1、The default template style file is /template In the directory, for example:
2、Under the default style, template directory /template Exist in default Template style, then default priority;
3、If a foreground template style is specified in the background, the template file in the specified template style directory will be mainly used.;

The above is shared by Suyou.com with everyone" eyoucms How to prevent template paths from being exposed", thank you very much for your patience to read this article, we will provide you with more information on reference, use or learning communication. We can also provide you with: Enterprise website construction, website imitation, website copying, imitation site, foreign trade website construction, foreign trade website construction, company official website productionFor services, our company serves customers with the service concept of "integrity, professionalism, pragmatism and innovation". If you need cooperation, please scan the code to consult, and we will serve you sincerely.
TAG Label:Yiyou cms