Follow-up to #15079: XCLASS include code missing and private declaration in t3lib_Spr...
authorIngo Renner <ingo.renner@typo3.org>
Thu, 19 Aug 2010 21:11:11 +0000 (21:11 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Thu, 19 Aug 2010 21:11:11 +0000 (21:11 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-4@8632 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_spritemanager.php

index 2ce352b..6824eff 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-19  Ingo Renner  <ingo@typo3.org>
+
+       * Follow-up to #15079: XCLASS include code missing and private declaration in t3lib_SpriteManager
+
 2010-08-19  Xavier Perseguers  <typo3@perseguers.ch>
 
        * Fixed bug #15505: t3lib_cache_backend_TransientMemoryBackend is not referenced
index 460ca73..61851bd 100644 (file)
@@ -149,7 +149,7 @@ class t3lib_SpriteManager {
         *
         * @return void
         */
-       private function compatibilityCalls() {
+       protected function compatibilityCalls() {
                        // Fallback for $TYPE_ICONS "contains-module" icons
                foreach ((array) $GLOBALS['ICON_TYPES'] as $module => $icon) {
                        $iconFile = $icon['icon'];
@@ -243,4 +243,8 @@ class t3lib_SpriteManager {
        }
 }
 
-?>
+if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_spritemanager.php'])    {
+       include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_spritemanager.php']);
+}
+
+?>
\ No newline at end of file