summaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2007-09-14 01:14:46 +0000
committerwjames5 <will@tekimaki.com>2007-09-14 01:14:46 +0000
commit436e9d30b8a0726178ac7268c45d91dab45a6721 (patch)
tree4327179c2363704c0ed09c2efb496820760eec6c /edit.php
parenta73e119be5983e5f4814e461d0fcfeed01d8d14e (diff)
downloadblogs-436e9d30b8a0726178ac7268c45d91dab45a6721.tar.gz
blogs-436e9d30b8a0726178ac7268c45d91dab45a6721.tar.bz2
blogs-436e9d30b8a0726178ac7268c45d91dab45a6721.zip
clean up old includes and put verify and blog lookup in right orderPRE_LIB_ATTACHMENT_REFACTOR
Diffstat (limited to 'edit.php')
-rw-r--r--edit.php12
1 files changed, 2 insertions, 10 deletions
diff --git a/edit.php b/edit.php
index 83fef90..440fb28 100644
--- a/edit.php
+++ b/edit.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_blogs/edit.php,v 1.28 2007/09/14 00:57:01 spiderr Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_blogs/edit.php,v 1.29 2007/09/14 01:14:46 wjames5 Exp $
* @package blogs
* @subpackage functions
*/
@@ -17,19 +17,11 @@
* required setup
*/
require_once( '../bit_setup_inc.php' );
-require_once( BLOGS_PKG_PATH.'lookup_blog_inc.php');
-
include_once( BLOGS_PKG_PATH.'BitBlog.php' );
-require_once( USERS_PKG_PATH.'BitUser.php' );
$gBitSystem->verifyPackage( 'blogs' );
-if (!isset($last_modified)) {
- $last_modified=time();
- $gBitSmarty->assign('last_modified', $last_modified);
-}
-
-$gBitSmarty->assign_by_ref('heading', $heading);
+require_once( BLOGS_PKG_PATH.'lookup_blog_inc.php');
// Now check permissions to access this page
if( $gContent->isValid() ) {