aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/index.php b/index.php
index a2d05d5b7..a30c69d37 100644
--- a/index.php
+++ b/index.php
@@ -36,9 +36,7 @@ if(strlen($a->module)) {
$a->module_loaded = true;
}
else {
- // TODO
- // search builtin function module table, else
- // return 403, 404, etc. Right now unresolved pages return blank.
+ notice( t('Page not found' ) . EOL);
}
}
@@ -85,7 +83,7 @@ if($a->module_loaded) {
// report anything important happening
if(x($_SESSION,'sysmsg')) {
- $a->page['content'] = "<div class=\"error-message\">{$_SESSION['sysmsg']}</div>\r\n"
+ $a->page['content'] = "<div id=\"sysmsg\" class=\"error-message\">{$_SESSION['sysmsg']}</div>\r\n"
. $a->page['content'];
unset($_SESSION['sysmsg']);
}