[TASK] Change hardcoded URL to constant
[Packages/TYPO3.CMS.git] / typo3 / classes / class.typo3logo.php
index 4dd7878..7bfec5b 100644 (file)
@@ -63,14 +63,14 @@ class TYPO3Logo {
                $imgInfo = getimagesize(PATH_site . TYPO3_mainDir . $logoFile);
 
 
-               $logo = '<a href="http://www.typo3.org/" target="_blank">'.
+               $logo = '<a href="' . TYPO3_URL_GENERAL . '" target="_blank">' .
                                '<img' . t3lib_iconWorks::skinImg('', $logoFile, $imgInfo[3]) . ' title="TYPO3 Content Management System" alt="" />' .
                                '</a>';
 
                        // overwrite with custom logo
                if($GLOBALS['TBE_STYLES']['logo'])      {
                        $imgInfo = @getimagesize(t3lib_div::resolveBackPath(PATH_typo3 . $GLOBALS['TBE_STYLES']['logo'], 3));
-                       $logo = '<a href="http://www.typo3.org/" target="_blank">' .
+                       $logo = '<a href="' . TYPO3_URL_GENERAL . '" target="_blank">' .
                                '<img src="' . $GLOBALS['TBE_STYLES']['logo'] . '" ' . $imgInfo[3] . ' title="TYPO3 Content Management System" alt="" />' .
                                '</a>';
                }