diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-08-11 13:03:44 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-08-11 13:03:44 +0000 |
| commit | b8ff879105513e1c8b702e2dd8a666d767778d97 (patch) | |
| tree | 52d125ad62a5d638bec14106b3e50337d30f45e3 /view_post.php | |
| parent | 1adacf6e05ff2383e4c7228bfd06fc4b2499aa7c (diff) | |
| download | blogs-b8ff879105513e1c8b702e2dd8a666d767778d97.tar.gz blogs-b8ff879105513e1c8b702e2dd8a666d767778d97.tar.bz2 blogs-b8ff879105513e1c8b702e2dd8a666d767778d97.zip | |
merge recent changes with HEAD - keeping stuff up to date in case someone starts going nuts in HEAD
Diffstat (limited to 'view_post.php')
| -rw-r--r-- | view_post.php | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/view_post.php b/view_post.php index 3cb163f..81d5423 100644 --- a/view_post.php +++ b/view_post.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_blogs/view_post.php,v 1.4 2005/08/01 18:40:04 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_blogs/view_post.php,v 1.5 2005/08/11 13:03:44 squareing Exp $ * @package blogs * @subpackage functions @@ -24,16 +24,15 @@ global $gContent; $postId = !empty( $_REQUEST['post_id'] ) ? $_REQUEST['post_id'] : NULL; $conId = !empty( $_REQUEST['content_id'] ) ? $_REQUEST['content_id'] : NULL; - - $gContent = new BitBlogPost( $postId, $conId ); if( $gContent->load() ) { + // get the pigeonholes info + if( $gBitSystem->isPackageActive( 'pigeonholes' ) ) { + include_once( PIGEONHOLES_PKG_PATH.'get_pigeonholes_info_inc.php' ); + } + include_once( BLOGS_PKG_PATH.'display_bitblogpost_inc.php' ); } else { $gBitSystem->fatalError( 'Post could not be found.' ); } - - - - ?> |
