diff options
| author | spiderr <spiderr@bitweaver.org> | 2021-02-04 12:02:22 -0500 |
|---|---|---|
| committer | spiderr <spiderr@bitweaver.org> | 2021-02-04 12:02:22 -0500 |
| commit | 7c21e90b0a8b347248cccede865fd8ff1f93c21b (patch) | |
| tree | 34ef3b451a35dc743b33b85899f23a610396848b /includes | |
| parent | b83a41245d23566c2b8bfdfc46247f0bd31b6844 (diff) | |
| download | wiki-7c21e90b0a8b347248cccede865fd8ff1f93c21b.tar.gz wiki-7c21e90b0a8b347248cccede865fd8ff1f93c21b.tar.bz2 wiki-7c21e90b0a8b347248cccede865fd8ff1f93c21b.zip | |
move _inc and _lib to includes/ and use PKG_INCLUDE_PATH constants; remove ancient imagegals and s5 features
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/classes/BitPage.php | 2 | ||||
| -rw-r--r-- | includes/display_bitpage_inc.php | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/includes/classes/BitPage.php b/includes/classes/BitPage.php index 9b2b03a..92c0776 100644 --- a/includes/classes/BitPage.php +++ b/includes/classes/BitPage.php @@ -239,7 +239,7 @@ class BitPage extends LibertyMime implements BitCacheable { if( isset( $mailEvents ) ) { global $notificationlib, $gBitUser, $gBitSystem, $gBitSmarty; - include_once( KERNEL_PKG_PATH.'notification_lib.php' ); + include_once( KERNEL_PKG_INCLUDE_PATH.'notification_lib.php' ); $notificationlib->post_content_event($this->mContentId, $this->mInfo['content_type_guid'], 'wiki', $this->mInfo['title'], $this->mInfo['modifier_user'], $this->mInfo['edit_comment'], $this->mInfo['data']); if( $gBitSystem->isFeatureActive( 'users_watches') ) { diff --git a/includes/display_bitpage_inc.php b/includes/display_bitpage_inc.php index 9c29c7e..e129e73 100644 --- a/includes/display_bitpage_inc.php +++ b/includes/display_bitpage_inc.php @@ -160,10 +160,4 @@ $pageInfo['title'] = $gContent->getTitle(); // Display the Index Template $gBitSmarty->assignByRef( 'pageInfo', $pageInfo ); -// S5 slideshows -if( isset( $_REQUEST['s5'] )) { - include_once( WIKI_PKG_PATH.'s5.php'); -} - $gBitSystem->display( 'bitpackage:wiki/show_page.tpl', $pageInfo['title'], array( 'display_mode' => 'display' )); -?> |
