Forum archive
Hardcoded path to /usr/share/drupal6
Hi all,
When I test creating a new symlink to the "webroot", to point to another folder further inside the subfolders under the drupal6 folder, by renaming the original webroot and creating a new one, then even after that there are errors saying that there are no valid Drupal installation on /usr/share/drupal6...
This tells me that there must be a hardcoded setting somewhere that is not pointing to the webroot folder (the symlink), but to the actualy default folder. Where is that setting?
I try to work around the following problem:
When I install drush, and try to use it from/in other drupal installations in subfolders (even 3 levels deeper) under /usr/share/drupal6/othersites/site2 ... etc. , then the drush environment only deals with the drupal site at /usr/share/drupal6, and not with the one from where I issue the drush command. Therefore I figured I could use some scripts to switch around several symlinks instead, but then I need to get to the bottom of the issue with the hardcode path.
So that users who are expecting to find the webroot at /var/www/drupal don't go WTF!?! I'd check the apache2 config (sites-enabled?). Although I'm only guessing...