summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2010-11-30 19:12:35 +1100
committerPaul Merrill <napalminc@gmail.com>2010-12-01 04:14:16 -0800
commitd5caf5157f1974541f5b90276a672574e11c2b26 (patch)
treef9598325aefe7bd79573a157ad29adfab4036d3e /post.php
parent6f71a6074321a0a9a0e6699a8e4422e9ebb5c6da (diff)
boards
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 = '';