Fix #6822: css_styled_content default EXTCONF was not loaded since it was installed...
authorBenni Mack <benni.mack@typo3.org>
Sat, 24 Nov 2007 17:58:50 +0000 (17:58 +0000)
committerBenni Mack <benni.mack@typo3.org>
Sat, 24 Nov 2007 17:58:50 +0000 (17:58 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2761 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/css_styled_content/ext_localconf.php

index 8539d3a..24d7481 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-24  Benjamin Mack  <mack@xnos.org>
+
+       * Fix #6822: css_styled_content default EXTCONF was not loaded since it was installed by default
+
 2007-11-24  Ingmar Schlecht  <ingmar@typo3.org>
 
        * Feature #6770: Flexform DataStructure pointerFields:
index 23da61e..32ba927 100755 (executable)
@@ -4,11 +4,11 @@
 if (!defined ('TYPO3_MODE'))   die ('Access denied.');
 
 $_EXTCONF = unserialize($_EXTCONF);    // unserializing the configuration so we can use it here:
-if ($_EXTCONF['setPageTSconfig'])      {
+if ($_EXTCONF['setPageTSconfig'] || !$_EXTCONF)        {
        t3lib_extMgm::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:css_styled_content/pageTSconfig.txt">');
 }
 
-if ($_EXTCONF['removePositionTypes'])  {
+if ($_EXTCONF['removePositionTypes'] || !$_EXTCONF)    {
        t3lib_extMgm::addPageTSConfig('
                TCEFORM.tt_content.imageorient.types.image.removeItems = 8,9,10,17,18,25,26
        ');
@@ -31,4 +31,4 @@ $TYPO3_CONF_VARS['SC_OPTIONS']['ext/install']['compat_version']['tx_cssstyledcon
 );
 
 
-?>
\ No newline at end of file
+?>