From b41323642bffd3761f73a8c9dc8260546d7533f1 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 17 Aug 2009 19:14:42 +0000 Subject: #517814 by jmstacey, justinrandell, pwolanin, drewish, Jody Lynn, aaron, dopry, and c960657: Converted File API to stream wrappers, for enhanced private/public file handling, and the ability to reference other storage mechanisms such as s3:// and flicker://. --- includes/registry.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/registry.inc') 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; -- cgit v1.2.3