diff options
| author | modela bitweaver <spiderr@bitweaver.org> | 2021-02-01 23:54:14 -0500 |
|---|---|---|
| committer | modela bitweaver <spiderr@bitweaver.org> | 2021-02-01 23:54:14 -0500 |
| commit | 8e42273cc4e4ea21a6955fb1fce5a3aed5b96df5 (patch) | |
| tree | c3051aced4ea7e7129a6bde669c4ee93fd978212 /view_post.php | |
| parent | cec3828fae8fc189f0f0ae6057a92b36641aab2d (diff) | |
| download | blogs-8e42273cc4e4ea21a6955fb1fce5a3aed5b96df5.tar.gz blogs-8e42273cc4e4ea21a6955fb1fce5a3aed5b96df5.tar.bz2 blogs-8e42273cc4e4ea21a6955fb1fce5a3aed5b96df5.zip | |
move _inc and classes to includes/classes and use PKG_CLASS/INCLUDE_PATH constants
Diffstat (limited to 'view_post.php')
| -rw-r--r-- | view_post.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/view_post.php b/view_post.php index 984e44a..6402afb 100644 --- a/view_post.php +++ b/view_post.php @@ -17,9 +17,9 @@ require_once( '../kernel/setup_inc.php' ); $gBitSystem->verifyPackage( 'blogs' ); -require_once( BLOGS_PKG_PATH.'BitBlogPost.php' ); +require_once( BLOGS_PKG_CLASS_PATH.'BitBlogPost.php' ); -include_once( BLOGS_PKG_PATH.'lookup_post_inc.php' ); +include_once( BLOGS_PKG_INCLUDE_PATH.'lookup_post_inc.php' ); if( !$gContent->isValid() ) { $gBitSystem->setHttpStatus( 404 ); @@ -44,7 +44,7 @@ if ( $gContent->hasAdminPermission() || ( $gContent->hasUserPermission( 'p_blog } if ($view == TRUE){ - include_once( BLOGS_PKG_PATH.'display_bitblogpost_inc.php' ); + include_once( BLOGS_PKG_INCLUDE_PATH.'display_bitblogpost_inc.php' ); }else{ $gBitSystem->setHttpStatus( 404 ); $gBitSystem->fatalError( "The blog post you requested could not be found." ); |
