diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-02-22 17:55:30 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-02-22 17:55:30 +0000 |
commit | 5d658d08481c22b5ef577b39a29cd647438b211f (patch) | |
tree | 74fca69f981d985604b126943aed71bb79d1bbcb /includes/registry.inc | |
parent | b3e36d655c831c63c26a710eb3c8bd82ca3b6fc5 (diff) | |
download | brdo-5d658d08481c22b5ef577b39a29cd647438b211f.tar.gz brdo-5d658d08481c22b5ef577b39a29cd647438b211f.tar.bz2 |
- Patch #380064 by c960657: make file_scan_directory() use save property names as file_load().
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 c3e88f1d0..35caaa3fb 100644 --- a/includes/registry.inc +++ b/includes/registry.inc @@ -43,7 +43,7 @@ function _registry_rebuild() { $files = array(); foreach (module_rebuild_cache() as $module) { if ($module->status) { - $dir = dirname($module->filename); + $dir = dirname($module->filepath); foreach ($module->info['files'] as $file) { $files["$dir/$file"] = array('module' => $module->name, 'weight' => $module->weight); } |