summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-10-11 10:16:56 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-10-11 10:16:56 +0000
commit0ce9f67b7c26371e53c9f6d47f52c92f26ef2f64 (patch)
tree362b5105b06c1ea209f6e7e66daa98b97affc1c5
parent7391eeb99ebd6df8e346c8d7588e6fb73a9ba560 (diff)
downloadnexus-0ce9f67b7c26371e53c9f6d47f52c92f26ef2f64.tar.gz
nexus-0ce9f67b7c26371e53c9f6d47f52c92f26ef2f64.tar.bz2
nexus-0ce9f67b7c26371e53c9f6d47f52c92f26ef2f64.zip
include correct file for service functions
-rw-r--r--bit_setup_inc.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/bit_setup_inc.php b/bit_setup_inc.php
index 5f524d3..67f4d90 100644
--- a/bit_setup_inc.php
+++ b/bit_setup_inc.php
@@ -1,7 +1,7 @@
<?php
/**
* @author xing <xing@synapse.plus.com>
- * @version $Revision: 1.14 $
+ * @version $Revision: 1.15 $
* @package Nexus
* @subpackage functions
*/
@@ -26,11 +26,13 @@ if( $gBitSystem->isPackageActive( 'nexus' ) ) {
}
$gBitSmarty->assign_by_ref( 'gNexusSystem', $gNexusSystem );
- require_once( NEXUS_PKG_PATH.'Nexus.php' );
+ // include service functions
+ require_once( NEXUS_PKG_PATH.'servicefunctions_inc.php' );
+
$gLibertySystem->registerService( LIBERTY_SERVICE_MENU, NEXUS_PKG_NAME, array(
- 'content_store_function' => 'nexus_store_content',
- 'content_edit_function' => 'nexus_input_content',
- 'content_preview_function' => 'nexus_preview_content',
+ 'content_store_function' => 'nexus_content_store',
+ 'content_edit_function' => 'nexus_content_edit',
+ 'content_preview_function' => 'nexus_content_preview',
'content_edit_tab_tpl' => 'bitpackage:nexus/insert_menu_item_inc.tpl',
) );