Closed (fixed)
Project:
Registry Rebuild
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Nov 2011 at 14:46 UTC
Updated:
2 Dec 2011 at 17:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
rfayYou actually have to edit registry_rebuild.php (if you're using that technique) to tell it where DRUPAL_ROOT is if it's not in the expected location. I think this is explained on the project page. Better approaches are welcome.
Comment #2
rfayYeah
Again, alternate suggestions are welcome.
Comment #3
joachim commentedHmm it's a pretty standard configuration, so maybe drupal root could sniff for index.php and if not found that many folders up, go one higher?
Comment #4
rfayOught to work.
Comment #5
joachim commentedHere's a patch; not sure how best to handle an error if nothing is found.
Comment #6
rfayI like it. Committed with minor changes in http://drupalcode.org/project/registry_rebuild.git/commitdiff/4e14fc5