From 0dd87a8773fcd72916dbf8a68737822fd07c163b Mon Sep 17 00:00:00 2001 From: wjames5 Date: Fri, 12 Feb 2010 14:53:29 +0000 Subject: flatten services hash and introduce new param for adding some meta data about services to easy site configuration, see lcconfig --- bit_setup_inc.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/bit_setup_inc.php b/bit_setup_inc.php index 016acca..64cdd3e 100644 --- a/bit_setup_inc.php +++ b/bit_setup_inc.php @@ -7,10 +7,15 @@ $registerHash = array( ); $gBitSystem->registerPackage( $registerHash ); -$gLibertySystem->registerService( LIBERTY_SERVICE_THEMES, THEMES_PKG_NAME, array( - 'content_display_function' => 'themes_content_display', - 'content_list_function' => 'themes_content_list', -) ); +$gLibertySystem->registerService( + LIBERTY_SERVICE_THEMES, + THEMES_PKG_NAME, + array( + 'content_display_function' => 'themes_content_display', + 'content_list_function' => 'themes_content_list', + ), + array( 'description' => 'Applied when user themes enabled; See theme pkg administration to enabled.' ) +); require_once( THEMES_PKG_PATH."BitThemes.php" ); global $gBitThemes; -- cgit v1.3