diff options
| -rw-r--r-- | admin/schema_inc.php | 4 | ||||
| -rw-r--r-- | book_to_html.php | 2 | ||||
| -rw-r--r-- | books.php | 2 | ||||
| -rw-r--r-- | includes/display_bitpage_inc.php | 2 | ||||
| -rw-r--r-- | includes/export_lib.php | 2 | ||||
| -rw-r--r-- | orphan_pages.php | 2 | ||||
| -rw-r--r-- | templates/center_wiki_page.php | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/admin/schema_inc.php b/admin/schema_inc.php index c156d50..2ff6e8b 100644 --- a/admin/schema_inc.php +++ b/admin/schema_inc.php @@ -135,8 +135,8 @@ if( defined( 'RSS_PKG_NAME' )) { // ### Register content types $gBitInstaller->registerContentObjects( WIKI_PKG_NAME, array( - 'BitPage' => WIKI_PKG_PATH.'BitPage.php', - 'BitBook' => WIKI_PKG_PATH.'BitBook.php', + 'BitPage' => WIKI_PKG_CLASS_PATH.'BitPage.php', + 'BitBook' => WIKI_PKG_CLASS_PATH.'BitBook.php', )); // Requirements diff --git a/book_to_html.php b/book_to_html.php index 203be49..c539620 100644 --- a/book_to_html.php +++ b/book_to_html.php @@ -15,7 +15,7 @@ */ require_once( '../kernel/setup_inc.php' ); -include_once( WIKI_PKG_PATH.'BitBook.php'); +include_once( WIKI_PKG_CLASS_PATH.'BitBook.php'); function copys($source,$dest) { @@ -14,7 +14,7 @@ * required setup */ require_once( '../kernel/setup_inc.php' ); -include_once( WIKI_PKG_PATH.'BitBook.php'); +include_once( WIKI_PKG_CLASS_PATH.'BitBook.php'); // verify stuff $gBitSystem->verifyPackage( 'wiki' ); diff --git a/includes/display_bitpage_inc.php b/includes/display_bitpage_inc.php index 57beec0..9c29c7e 100644 --- a/includes/display_bitpage_inc.php +++ b/includes/display_bitpage_inc.php @@ -147,7 +147,7 @@ if( $gBitSystem->isFeatureActive( 'users_watches' ) ) { } if( $gContent->isValid() && $gBitSystem->isPackageActive( 'stickies' ) ) { - require_once( STICKIES_PKG_PATH.'BitSticky.php' ); + require_once( STICKIES_PKG_CLASS_PATH.'BitSticky.php' ); global $gNote; $gNote = new BitSticky( NULL, NULL, $gContent->mContentId ); $gNote->load(); diff --git a/includes/export_lib.php b/includes/export_lib.php index 83f19dd..264bc20 100644 --- a/includes/export_lib.php +++ b/includes/export_lib.php @@ -12,7 +12,7 @@ /** * required setup */ -require_once( KERNEL_PKG_PATH.'BitBase.php' ); +require_once( KERNEL_PKG_CLASS_PATH.'BitBase.php' ); require_once( WIKI_PKG_CLASS_PATH.'BitPage.php' ); /** * @package wiki diff --git a/orphan_pages.php b/orphan_pages.php index 682c85f..796c4da 100644 --- a/orphan_pages.php +++ b/orphan_pages.php @@ -8,7 +8,7 @@ * required setup */ require_once( '../kernel/setup_inc.php' ); -include_once( WIKI_PKG_PATH.'BitPage.php' ); +include_once( WIKI_PKG_CLASS_PATH.'BitPage.php' ); // verify stuff $gBitSystem->verifyPackage( 'wiki' ); diff --git a/templates/center_wiki_page.php b/templates/center_wiki_page.php index 45460bf..74a661f 100644 --- a/templates/center_wiki_page.php +++ b/templates/center_wiki_page.php @@ -6,7 +6,7 @@ $lookupHash['page_id'] = ( !empty( $moduleParams['module_params']['page_id'] $lookupHash['content_id'] = ( !empty( $moduleParams['module_params']['content_id'] ) ? $moduleParams['module_params']['content_id'] : NULL ); $lookupHash['page'] = ( !empty( $moduleParams['module_params']['page'] ) ? $moduleParams['module_params']['page'] : NULL ); -require_once( WIKI_PKG_PATH."BitPage.php" ); +require_once( WIKI_PKG_CLASS_PATH.'BitPage.php' ); $modulePage = BitPage::lookupObject( $lookupHash ); $showTitle = TRUE; if( !empty( $moduleParams['module_params']['notitle'] ) ) { |
