summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2003-06-06 14:07:45 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2003-06-06 14:07:45 +0000
commit94f5eee15add395831056010abb3304e9f215c7a (patch)
treef5ed153d3f3bfe5fa402168fff657e0823aca426
parent1e7ef0cf2154a58a11f2d849e92a8b36186c4f9e (diff)
downloadbrdo-94f5eee15add395831056010abb3304e9f215c7a.tar.gz
brdo-94f5eee15add395831056010abb3304e9f215c7a.tar.bz2
- adding admin module to module_list.
-rw-r--r--includes/module.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/module.inc b/includes/module.inc
index d126944a9..1732104a2 100644
--- a/includes/module.inc
+++ b/includes/module.inc
@@ -49,7 +49,7 @@ function module_list($refresh = 0) {
}
if (!$list) {
- $list = array("system" => "system", "user" => "user", "watchdog" => "watchdog");
+ $list = array("admin" => "admin", "system" => "system", "user" => "user", "watchdog" => "watchdog");
$result = db_query("SELECT name, filename FROM system WHERE type = 'module' AND status = '1' ORDER BY name");
while ($module = db_fetch_object($result)) {
if (file_exists($module->filename)) {