Commit 94f5eee1 authored by Kjartan's avatar Kjartan

- adding admin module to module_list.

parent 1e7ef0cf
......@@ -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)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment