summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--display_bitblog_inc.php11
-rw-r--r--display_bitblogpost_inc.php1
-rw-r--r--lookup_blog_inc.php8
3 files changed, 15 insertions, 5 deletions
diff --git a/display_bitblog_inc.php b/display_bitblog_inc.php
index 14bb481..d2ce842 100644
--- a/display_bitblog_inc.php
+++ b/display_bitblog_inc.php
@@ -2,12 +2,15 @@
/**
* @package blogs
* @subpackage functions
+ *
+ * Copyright (c) 2004-2006, bitweaver.org
+ * 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.
*/
-// Copyright (c) 2004-2006, bitweaver.org
-// 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.
-
+/**
+ * required setup
+ */
require_once( BLOGS_PKG_PATH.'BitBlog.php' );
$displayHash = array( 'perm_name' => 'p_blogs_view' );
diff --git a/display_bitblogpost_inc.php b/display_bitblogpost_inc.php
index c6e8314..09bf90b 100644
--- a/display_bitblogpost_inc.php
+++ b/display_bitblogpost_inc.php
@@ -7,7 +7,6 @@
/**
* required setup
*/
-
include_once( BLOGS_PKG_PATH.'BitBlog.php' );
if (!isset($gContent->mPostId)) {
diff --git a/lookup_blog_inc.php b/lookup_blog_inc.php
index e7b4569..a2aa95d 100644
--- a/lookup_blog_inc.php
+++ b/lookup_blog_inc.php
@@ -1,4 +1,12 @@
<?php
+/**
+ * @package blogs
+ * @subpackage functions
+ */
+
+/**
+ * required setup
+ */
global $gContent, $gBitSmarty, $gBlog;
require_once( BLOGS_PKG_PATH.'BitBlog.php');