summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
Diffstat (limited to 'post.php')
-rw-r--r--post.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/post.php b/post.php
index cbd6da59..3e4e6934 100644
--- a/post.php
+++ b/post.php
@@ -8,10 +8,13 @@
require 'inc/config.php';
require 'inc/user.php';
+ // For example, we're on /b/
$board = Array(
- 'url' => '/b/',
+ 'id' => 1,
+ 'uri' => 'b',
'name' => 'Beta',
'title' => 'In development.');
+ $board['url'] = sprintf(BOARD_ABBREVIATION, $board['uri']);
$body = '';