diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-06-01 21:57:29 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-06-01 21:57:29 +0000 |
commit | 4a28077f468f0a688cd70f3b43e5ffc242bcb49a (patch) | |
tree | 8913da6bf5a92e28d06f04db9635c1b93c4c8fe3 /includes | |
parent | 59082a5f19aded411f474fcd88220a06a02f06f4 (diff) | |
download | brdo-4a28077f468f0a688cd70f3b43e5ffc242bcb49a.tar.gz brdo-4a28077f468f0a688cd70f3b43e5ffc242bcb49a.tar.bz2 |
- adding descriptions to modules (thanks Joe + Scott).
- fixed comment flat list view missing 1 comment.
- changed update.php around a bit.
* security check isn't in effect if the db hasn't been updated.
* instructions re-organized.
* fixed some minor updates.
- updated database.mysql done by UnConeD.
- changelog update.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/module.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/module.inc b/includes/module.inc index 41e7e5508..deaace780 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -46,7 +46,9 @@ function module_list() { $result = db_query("SELECT name, filename FROM system WHERE type = 'module' AND status = '1' ORDER BY name"); while ($module = db_fetch_object($result)) { $list[$module->name] = $module->name; - include_once "modules/$module->filename"; + if (file_exists("modules/$module->filename")) { + include_once "modules/$module->filename"; + } } asort($list); } |