summaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authorspider <spider@bitweaver.org>2015-04-07 11:30:43 -0400
committerspider <spider@bitweaver.org>2015-04-07 11:30:43 -0400
commit5f2e82a1fb1803fcc79fd31bd0f318f3661d639c (patch)
treeb7a2a97f56040e0ae5e97ce87ba8696427c89f70 /edit.php
parentffca4b50a4ca1148a762c2a47364231be46bbd8b (diff)
downloadwiki-5f2e82a1fb1803fcc79fd31bd0f318f3661d639c.tar.gz
wiki-5f2e82a1fb1803fcc79fd31bd0f318f3661d639c.tar.bz2
wiki-5f2e82a1fb1803fcc79fd31bd0f318f3661d639c.zip
loadCkEditor, not the best place but works for now
Diffstat (limited to 'edit.php')
-rw-r--r--edit.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/edit.php b/edit.php
index 9e59156..495849a 100644
--- a/edit.php
+++ b/edit.php
@@ -241,6 +241,10 @@ $formInfo['original_title'] =( !empty( $gContent->mInfo['title'] ) ) ? $gContent
$gBitSmarty->assign_by_ref( 'pageInfo', $formInfo );
$gBitSmarty->assign_by_ref( 'errors', $gContent->mErrors );
+if( $gBitSystem->isPackageActive( 'ckeditor' ) ) {
+ loadCkEditor();
+}
+
$gBitSystem->display( 'bitpackage:wiki/edit_page.tpl', 'Edit: '.$gContent->getTitle() , array( 'display_mode' => 'edit' ));