Commit 793db831 authored by Kjartan's avatar Kjartan

- Coding style changes.

- Included modules will now cause parse errors instead of them being supressed.
  Was making debugging really hard.
parent 66e1bbfb
......@@ -3,10 +3,10 @@
// initialize modules:
function module_init() {
require_once("modules/user.module");
require_once("modules/drupal.module");
require_once("modules/system.module");
require_once("modules/watchdog.module");
require_once "modules/user.module";
require_once "modules/drupal.module";
require_once "modules/system.module";
require_once "modules/watchdog.module";
module_list();
}
......@@ -46,7 +46,7 @@ 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";
include_once "modules/$module->filename";
}
asort($list);
}
......
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