diff options
| author | modela bitweaver <spiderr@bitweaver.org> | 2021-02-02 01:17:39 -0500 |
|---|---|---|
| committer | modela bitweaver <spiderr@bitweaver.org> | 2021-02-02 01:17:39 -0500 |
| commit | 9c5d92efbb700277c12c86b50b9527c3aa762bfb (patch) | |
| tree | 88021e9833da96ce2fdc7295f47d340dea2270c1 | |
| parent | 8ac5971140c734bc524dda5a2f18e0c9d73dc80c (diff) | |
| download | tags-9c5d92efbb700277c12c86b50b9527c3aa762bfb.tar.gz tags-9c5d92efbb700277c12c86b50b9527c3aa762bfb.tar.bz2 tags-9c5d92efbb700277c12c86b50b9527c3aa762bfb.zip | |
move _inc and _lib to includes/ and use PKG_INCLUDE_PATH constants
| -rw-r--r-- | LibertyTag.php | 4 | ||||
| -rw-r--r-- | bit_setup_inc.php | 2 | ||||
| -rw-r--r-- | drop_tags.php | 6 | ||||
| -rw-r--r-- | edit.php | 4 | ||||
| -rw-r--r-- | index.php | 2 | ||||
| -rw-r--r-- | list.php | 2 | ||||
| -rw-r--r-- | modules/mod_tags_cloud.php | 2 |
7 files changed, 11 insertions, 11 deletions
diff --git a/LibertyTag.php b/LibertyTag.php index 2919d6a..d02bcad 100644 --- a/LibertyTag.php +++ b/LibertyTag.php @@ -11,7 +11,7 @@ /** * required setup */ -require_once( KERNEL_PKG_PATH.'BitBase.php' ); +require_once( KERNEL_PKG_CLASS_PATH.'BitBase.php' ); /** * @package tags @@ -561,7 +561,7 @@ class LibertyTag extends LibertyBase { $gBitSmarty->assign( 'user_id', @BitBase::verifyId( $pParamHash['user_id'] ) ? $pParamHash['user_id'] : NULL ); // now that we have all the offsets, we can get the content list - include_once( LIBERTY_PKG_PATH.'get_content_list_inc.php' ); + include_once( LIBERTY_PKG_INCLUDE_PATH.'get_content_list_inc.php' ); $gBitSmarty->assign( 'contentSelect', $contentSelect ); $gBitSmarty->assign( 'contentTypes', $contentTypes ); diff --git a/bit_setup_inc.php b/bit_setup_inc.php index ace185d..750b0bf 100644 --- a/bit_setup_inc.php +++ b/bit_setup_inc.php @@ -14,7 +14,7 @@ if( $gBitSystem->isPackageActive( 'tags' ) && $gBitUser->hasPermission( 'p_tags_ // load css file $gBitThemes->loadCss( TAGS_PKG_PATH.'templates/tags.css' ); - require_once( TAGS_PKG_PATH.'LibertyTag.php' ); + require_once( TAGS_PKG_CLASS_PATH.'LibertyTag.php' ); $menuHash = array( 'package_name' => TAGS_PKG_NAME, diff --git a/drop_tags.php b/drop_tags.php index d1cade7..bfe519e 100644 --- a/drop_tags.php +++ b/drop_tags.php @@ -13,11 +13,11 @@ * required setup */ require_once( "../kernel/setup_inc.php" ); -require_once( TAGS_PKG_PATH."LibertyTag.php" ); +require_once( TAGS_PKG_CLASS_PATH.'LibertyTag.php' ); $gBitSystem->verifyPackage( 'tags' ); -require_once( LIBERTY_PKG_PATH.'lookup_content_inc.php' ); +require_once( LIBERTY_PKG_INCLUDE_PATH.'lookup_content_inc.php' ); if (!$gContent || !$gContent->isValid()) { $gBitSystem->fatalError( 'The content is not valid.' ); @@ -52,4 +52,4 @@ $gBitSystem->confirmDialog( $formHash,$msgHash ); -?>
\ No newline at end of file +?> @@ -13,7 +13,7 @@ * required setup */ require_once( "../kernel/setup_inc.php" ); -require_once( TAGS_PKG_PATH."LibertyTag.php" ); +require_once( TAGS_PKG_CLASS_PATH.'LibertyTag.php' ); $gBitSystem->verifyPackage( 'tags' ); @@ -34,4 +34,4 @@ if( !empty( $_REQUEST["save"] ) ) { } $gBitSystem->display( 'bitpackage:tags/edit_tag.tpl', tra( "Edit Tag" ) , array( 'display_mode' => 'edit' )); -?>
\ No newline at end of file +?> @@ -1,6 +1,6 @@ <?php require_once( "../kernel/setup_inc.php" ); -require_once( TAGS_PKG_PATH."LibertyTag.php" ); +require_once( TAGS_PKG_CLASS_PATH.'LibertyTag.php' ); $gBitSystem->verifyPackage( 'tags' ); @@ -13,7 +13,7 @@ * required setup */ require_once( "../kernel/setup_inc.php" ); -require_once( TAGS_PKG_PATH."LibertyTag.php" ); +require_once( TAGS_PKG_CLASS_PATH.'LibertyTag.php' ); $gBitSystem->verifyPackage( 'tags' ); diff --git a/modules/mod_tags_cloud.php b/modules/mod_tags_cloud.php index f91dffd..1513fc1 100644 --- a/modules/mod_tags_cloud.php +++ b/modules/mod_tags_cloud.php @@ -8,7 +8,7 @@ /** * required setup */ -require_once( TAGS_PKG_PATH."LibertyTag.php" ); +require_once( TAGS_PKG_CLASS_PATH.'LibertyTag.php' ); // moduleParams contains lots of goodies: extract for easier handling extract( $moduleParams ); |
