From f05f0da4421f1b62d17b3372f0eb824af03457d3 Mon Sep 17 00:00:00 2001
From: dkd-egerer Sascha Egerer <sascha@sascha-egerer.de>
Date: Sat, 14 Apr 2012 16:56:30 +0200
Subject: [PATCH] [TASK] Change hardcoded URL to constant

Change hardcoded typo3.org url to the
constant TYPO3_URL_GENERAL in class.typo3logo.php

Change-Id: I6a3067f589ae84ae2ef61d3be8ff7a7d64d1eb76
Resolves: #34742
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10472
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
---
 typo3/classes/class.typo3logo.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/typo3/classes/class.typo3logo.php b/typo3/classes/class.typo3logo.php
index 171c7a545f1a..0483e98e2552 100644
--- a/typo3/classes/class.typo3logo.php
+++ b/typo3/classes/class.typo3logo.php
@@ -61,14 +61,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>';
 		}
-- 
GitLab