Comment out useless code at this time

This commit is contained in:
Savetheinternet 2010-12-10 20:42:16 +11:00
parent 46ad66514a
commit afd5f5b9cc

View File

@ -61,7 +61,8 @@
echo Element('page.html', Array( echo Element('page.html', Array(
'index'=>ROOT, 'index'=>ROOT,
'title'=>'Dashboard', 'title'=>'Dashboard',
'body'=>$body 'body'=>$body,
'mod'=>true
) )
); );
} elseif(preg_match('/^\/new$/', $query)) { } elseif(preg_match('/^\/new$/', $query)) {
@ -126,7 +127,8 @@
echo Element('page.html', Array( echo Element('page.html', Array(
'index'=>ROOT, 'index'=>ROOT,
'title'=>'New board', 'title'=>'New board',
'body'=>$body 'body'=>$body,
'mod'=>true
) )
); );
} elseif(preg_match('/^\/' . $regex['board'] . '(' . preg_quote(FILE_INDEX, '/') . ')?$/', $query, $matches)) { } elseif(preg_match('/^\/' . $regex['board'] . '(' . preg_quote(FILE_INDEX, '/') . ')?$/', $query, $matches)) {
@ -136,7 +138,7 @@
// Open board // Open board
openBoard($boardName); openBoard($boardName);
echo Element('index.html', index(1)); // echo Element('index.html', index(1));
} else { } else {
error("Page not found."); error("Page not found.");