diff options
Diffstat (limited to 'includes/registry.inc')
-rw-r--r-- | includes/registry.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/registry.inc b/includes/registry.inc index 450af6c14..117de9881 100644 --- a/includes/registry.inc +++ b/includes/registry.inc @@ -42,7 +42,7 @@ function _registry_rebuild() { // Get the list of files we are going to parse. $files = array(); foreach ($modules as &$module) { - $dir = dirname($module->filepath); + $dir = dirname($module->uri); // Store the module directory for use in hook_registry_files_alter(). $module->dir = $dir; |