Skip to content
Snippets Groups Projects
Commit f05f0da4 authored by dkd-egerer Sascha Egerer's avatar dkd-egerer Sascha Egerer Committed by Christian Kuhn
Browse files

[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
parent ed5d17ac
Branches
Tags
No related merge requests found
......@@ -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>';
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment