diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-05-27 21:18:09 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-27 21:18:09 -0700 |
commit | 24dce5a85d97856508951123aed09feb206beb82 (patch) | |
tree | 8c15f92dde2aa9dbcfadabf08d1a20dc3673b908 | |
parent | 567c911fa36fad5f430f7f678753e5a68e6731d4 (diff) |
Fix up another place where we were incorrectly referencing the gallery module.
-rw-r--r-- | modules/gallery/helpers/module.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/module.php b/modules/gallery/helpers/module.php index a6cc87ac..ad46b2ff 100644 --- a/modules/gallery/helpers/module.php +++ b/modules/gallery/helpers/module.php @@ -75,7 +75,7 @@ class module_Core { */ static function available() { $modules = new ArrayObject(array(), ArrayObject::ARRAY_AS_PROPS); - foreach (array_merge(array("gallery/module.info"), glob(MODPATH . "*/module.info")) as $file) { + foreach (glob(MODPATH . "*/module.info") as $file) { $module_name = basename(dirname($file)); $modules->$module_name = new ArrayObject(parse_ini_file($file), ArrayObject::ARRAY_AS_PROPS); $modules->$module_name->installed = self::is_installed($module_name); |