This path should be how to write AH (I am a beginner to the younger brother)
Source: Internet
Author: User
How should this path be written? (I am a rookie ~~~~~)
I use the DEDECMS system built by the website, Php+mysql, under the virtual host has three directories: Web, Data, logo
I now want to move the database folder data under the Web directory to the data directory under the virtual host, the folder has been moved OK
How to change the relative path of the two configuration files?
This is the path for the common.inc.php file to be changed:
Define (' Dededata ', dederoot. '/data ');
This is the path of the system background template cache directory to change:
------Solution--------------------
Dederoot should be defined to point to the web, and you move the data directory to the Web directory peer directory data. So you can no longer use Dederoot as the path top. You can redefine a constant to the data directory, and then use the new constant to connect to the data directory.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.