diff options
| author | modela bitweaver <spiderr@bitweaver.org> | 2021-02-01 13:30:02 -0500 |
|---|---|---|
| committer | modela bitweaver <spiderr@bitweaver.org> | 2021-02-01 13:30:02 -0500 |
| commit | 6acff0fba312ac169fe02882c03ba5f1de4b27ae (patch) | |
| tree | d84530cfe960691cc724ebac2bed605a3b3cd75f /view_board_inc.php | |
| parent | 6e4ff4522532da0af3daead83ed469081a01e18c (diff) | |
| download | boards-6acff0fba312ac169fe02882c03ba5f1de4b27ae.tar.gz boards-6acff0fba312ac169fe02882c03ba5f1de4b27ae.tar.bz2 boards-6acff0fba312ac169fe02882c03ba5f1de4b27ae.zip | |
move classes to includes/classes and use PKG_CLASS/INCLUDE_PATH constants
Diffstat (limited to 'view_board_inc.php')
| -rw-r--r-- | view_board_inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/view_board_inc.php b/view_board_inc.php index 8f626e7..92eaa57 100644 --- a/view_board_inc.php +++ b/view_board_inc.php @@ -18,7 +18,7 @@ $gBitSystem->verifyPackage( 'boards' ); // if we're getting a migrate id then lets move on right away if ( @BitBase::verifyId( $_REQUEST['migrate_board_id'] ) ) { - require_once( BOARDS_PKG_PATH.'BitBoard.php' ); + require_once( BOARDS_PKG_CLASS_PATH.'BitBoard.php' ); if( $_REQUEST['b'] = BitBoard::lookupByMigrateBoard( $_REQUEST['migrate_board_id'] ) ) { bit_redirect( BOARDS_PKG_URL.'index.php?b='. $_REQUEST['b'] ); @@ -43,7 +43,7 @@ if (!empty($_REQUEST['action'])) { $gBitUser->verifyTicket(); // Load up the comment as a board post - require_once( BOARDS_PKG_PATH.'BitBoardPost.php' ); + require_once( BOARDS_PKG_CLASS_PATH.'BitBoardPost.php' ); $comment = new BitBoardPost($_REQUEST['comment_id']); $comment->loadComment(); @@ -92,7 +92,7 @@ $comments_return_url= BOARDS_PKG_URL."index.php?b=".urlencode($gContent->mBitBo require_once( BOARDS_PKG_PATH.'boards_comments_inc.php' ); // get the topics for this board -require_once( BOARDS_PKG_PATH.'BitBoardTopic.php' ); +require_once( BOARDS_PKG_CLASS_PATH.'BitBoardTopic.php' ); $threads = new BitBoardTopic( $gContent->mContentId ); |
