summaryrefslogtreecommitdiff
path: root/bit_setup_inc.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2006-02-18 22:57:58 +0000
committerChristian Fowler <spider@viovio.com>2006-02-18 22:57:58 +0000
commitd30805bdc4d1bd1ed43a05d16351e8d03fff5e58 (patch)
tree74484bdfabb2cacb8af13ee55f953cb7e65e0316 /bit_setup_inc.php
parent0a69ac9f6fc57790ba448d9ebdbdd4f779a7c602 (diff)
downloadlanguages-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.php2
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',