summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2010-12-10 20:42:16 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2010-12-10 20:42:16 +1100
commitafd5f5b9cc75c0197acf1311b17f935e48917b0b (patch)
tree46b304f8779f8d82438a93cee299d18830149b73
parent46ad66514a4baa4f83f67f457ed9e894e1804d4b (diff)
Comment out useless code at this time
-rw-r--r--mod.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/mod.php b/mod.php
index 5695ad8b..62200545 100644
--- a/mod.php
+++ b/mod.php
@@ -61,7 +61,8 @@
echo Element('page.html', Array(
'index'=>ROOT,
'title'=>'Dashboard',
- 'body'=>$body
+ 'body'=>$body,
+ 'mod'=>true
)
);
} elseif(preg_match('/^\/new$/', $query)) {
@@ -126,7 +127,8 @@
echo Element('page.html', Array(
'index'=>ROOT,
'title'=>'New board',
- 'body'=>$body
+ 'body'=>$body,
+ 'mod'=>true
)
);
} elseif(preg_match('/^\/' . $regex['board'] . '(' . preg_quote(FILE_INDEX, '/') . ')?$/', $query, $matches)) {
@@ -136,7 +138,7 @@
// Open board
openBoard($boardName);
- echo Element('index.html', index(1));
+ // echo Element('index.html', index(1));
} else {
error("Page not found.");