diff options
| author | wjames5 <will@tekimaki.com> | 2010-02-12 14:53:29 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2010-02-12 14:53:29 +0000 |
| commit | 0dd87a8773fcd72916dbf8a68737822fd07c163b (patch) | |
| tree | 986cfa2a69011a087875d1a5c57a0fac475d1a34 | |
| parent | 81ea56805c0ac9e8cf23fe0dcd3fe77aa4a7b0f4 (diff) | |
| download | themes-0dd87a8773fcd72916dbf8a68737822fd07c163b.tar.gz themes-0dd87a8773fcd72916dbf8a68737822fd07c163b.tar.bz2 themes-0dd87a8773fcd72916dbf8a68737822fd07c163b.zip | |
flatten services hash and introduce new param for adding some meta data about services to easy site configuration, see lcconfig
| -rw-r--r-- | bit_setup_inc.php | 13 |
1 files 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; |
