diff options
| author | modela bitweaver <spiderr@bitweaver.org> | 2021-02-02 01:10:32 -0500 |
|---|---|---|
| committer | modela bitweaver <spiderr@bitweaver.org> | 2021-02-02 01:10:32 -0500 |
| commit | 7d44ce010e8f0ee26c7233d99bc0a8eb46cbc16a (patch) | |
| tree | 82be820e79872e33b7a06bb90032564a894fafb5 /article_history.php | |
| parent | bc123ce74635945fd967a862bcf4cf77451e86fd (diff) | |
| download | articles-7d44ce010e8f0ee26c7233d99bc0a8eb46cbc16a.tar.gz articles-7d44ce010e8f0ee26c7233d99bc0a8eb46cbc16a.tar.bz2 articles-7d44ce010e8f0ee26c7233d99bc0a8eb46cbc16a.zip | |
move _inc and _lib to includes/ and use PKG_INCLUDE_PATH constants
Diffstat (limited to 'article_history.php')
| -rw-r--r-- | article_history.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/article_history.php b/article_history.php index 3b28e24..3e26a9a 100644 --- a/article_history.php +++ b/article_history.php @@ -27,7 +27,7 @@ if( !isset( $_REQUEST["article_id"] ) ) { $gBitSystem->fatalError( tra( "No article indicated" )); } -include_once( ARTICLES_PKG_PATH.'lookup_article_inc.php' ); +include_once( ARTICLES_PKG_INCLUDE_PATH.'lookup_article_inc.php' ); //vd($gContent->mPageId);vd($gContent->mInfo); if( !$gContent->isValid() || empty( $gContent->mInfo ) ) { @@ -42,7 +42,7 @@ if( $gContent->getField( 'status_id' ) != ARTICLE_STATUS_APPROVED && !( $gConten } $smartyContentRef = 'article'; -include_once( LIBERTY_PKG_PATH.'content_history_inc.php' ); +include_once( LIBERTY_PKG_INCLUDE_PATH.'content_history_inc.php' ); $gBitSmarty->assign( 'page', $page = !empty( $_REQUEST['list_page'] ) ? $_REQUEST['list_page'] : 1 ); $offset = ( $page - 1 ) * $gBitSystem->getConfig( 'max_records' ); |
