summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2007-03-07 21:02:28 +0000
committerChristian Fowler <spider@viovio.com>2007-03-07 21:02:28 +0000
commitbacf238ab67cbbd3039e63469d3056e2d483a4eb (patch)
treea9718a997b791bf1ae7e52fa0a7ddd6c1fe72d7e /index.php
parent455f681260a4e02e36024ea030f36f807fef8733 (diff)
downloadboards-bacf238ab67cbbd3039e63469d3056e2d483a4eb.tar.gz
boards-bacf238ab67cbbd3039e63469d3056e2d483a4eb.tar.bz2
boards-bacf238ab67cbbd3039e63469d3056e2d483a4eb.zip
handle look up by migrate_post_id, add rewrite rules for phpBB
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index ef187cb..ac90217 100644
--- a/index.php
+++ b/index.php
@@ -1,5 +1,5 @@
<?php
-// $Header: /cvsroot/bitweaver/_bit_boards/index.php,v 1.4 2007/03/07 20:08:29 spiderr Exp $
+// $Header: /cvsroot/bitweaver/_bit_boards/index.php,v 1.5 2007/03/07 21:02:28 spiderr Exp $
// Copyright (c) 2004 bitweaver Messageboards
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
@@ -9,7 +9,7 @@ require_once( BITBOARDS_PKG_PATH.'BitBoard.php' );
require_once( BITBOARDS_PKG_PATH.'BitBoardPost.php' );
require_once( BITBOARDS_PKG_PATH.'BitBoard.php' );
-if( !empty( $_REQUEST['t'] ) || !empty( $_REQUEST['migrate_topic_id'] ) ) {
+if( !empty( $_REQUEST['t'] ) || !empty( $_REQUEST['migrate_topic_id'] ) || !empty( $_REQUEST['migrate_post_id'] ) ) {
require( BITBOARDS_PKG_PATH.'post.php' );
} elseif (!empty($_REQUEST['b'])) {
require( BITBOARDS_PKG_PATH.'topic.php' );