Fixed bug 10536: Hardcoded backend main dir in typo3/classes/class.typo3logo.php...
authorBenni Mack <benni.mack@typo3.org>
Fri, 27 Feb 2009 11:59:13 +0000 (11:59 +0000)
committerBenni Mack <benni.mack@typo3.org>
Fri, 27 Feb 2009 11:59:13 +0000 (11:59 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5076 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/classes/class.typo3logo.php

index b35acc0..385eb20 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2009-02-27  Benjamin Mack  <benni@typo3.org>
 
 2009-02-27  Benjamin Mack  <benni@typo3.org>
 
+       * Fixed bug 10536: Hardcoded backend main dir in typo3/classes/class.typo3logo.php (Thanks to Christian Kuhn)
        * Fixed Bug #3871: Hardcoded css for versioning symbol in list module (Thanks to Christian Kuhn)
        * Fixed #10490: Code cleanup/Bugfix: Add some sql_free_result to the admin_get_* functions (Thanks to Oliver Klee)
 
        * Fixed Bug #3871: Hardcoded css for versioning symbol in list module (Thanks to Christian Kuhn)
        * Fixed #10490: Code cleanup/Bugfix: Add some sql_free_result to the admin_get_* functions (Thanks to Oliver Klee)
 
index 5b2d720..716c851 100644 (file)
@@ -60,7 +60,7 @@ class TYPO3Logo {
                                // overwrite
                        $logoFile = $this->logo;
                }
                                // overwrite
                        $logoFile = $this->logo;
                }
-               $imgInfo = getimagesize(PATH_site.'typo3/'.$logoFile);
+               $imgInfo = getimagesize(PATH_site . TYPO3_mainDir . $logoFile);
 
 
                $logo = '<a href="http://www.typo3.com/" target="_blank" onclick="'.$GLOBALS['TBE_TEMPLATE']->thisBlur().'">'.
 
 
                $logo = '<a href="http://www.typo3.com/" target="_blank" onclick="'.$GLOBALS['TBE_TEMPLATE']->thisBlur().'">'.