diff options
| author | Christian Fowler <spider@viovio.com> | 2006-02-18 22:57:58 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2006-02-18 22:57:58 +0000 |
| commit | d30805bdc4d1bd1ed43a05d16351e8d03fff5e58 (patch) | |
| tree | 74484bdfabb2cacb8af13ee55f953cb7e65e0316 /bit_setup_inc.php | |
| parent | 0a69ac9f6fc57790ba448d9ebdbdd4f779a7c602 (diff) | |
| download | languages-d30805bdc4d1bd1ed43a05d16351e8d03fff5e58.tar.gz languages-d30805bdc4d1bd1ed43a05d16351e8d03fff5e58.tar.bz2 languages-d30805bdc4d1bd1ed43a05d16351e8d03fff5e58.zip | |
add i18n_content_translation feature
Diffstat (limited to 'bit_setup_inc.php')
| -rw-r--r-- | bit_setup_inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bit_setup_inc.php b/bit_setup_inc.php index ee22104..c3d31b4 100644 --- a/bit_setup_inc.php +++ b/bit_setup_inc.php @@ -37,7 +37,7 @@ if( !empty( $_REQUEST['oe'] ) && !empty( $gBitLanguage->mLanguageList[$_REQUEST[ $gBitSmarty->assign('bitlanguage', $gBitLanguage->mLanguage); -if (!empty($gLibertySystem)) { +if (!empty($gLibertySystem) && $gBitSystem->isFeatureActive( 'i18n_content_translation' ) ) { require_once( LANGUAGES_PKG_PATH . 'LibertyTranslations.php' ); $gLibertySystem->registerService( LIBERTY_SERVICE_TRANSLATION, LANGUAGES_PKG_NAME, array( //'content_display_function' => 'translation_content_display', |
