Skip to content
Snippets Groups Projects
Commit 9fb4bf7f authored by Wouter Wolters's avatar Wouter Wolters Committed by Andreas Fernandez
Browse files

[TASK] Remove check to non existing folder in IconUtility::makeIcon

This folder never existed in TYPO3

Resolves: #67959
Releases: master
Change-Id: Ia1fd6c9b3fc350337ecf29ecfbe04ed2efbc6111
Reviewed-on: http://review.typo3.org/40962


Reviewed-by: default avatarStephan Großberndt <stephan@grossberndt.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
Tested-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
parent 13195081
Branches
Tags
No related merge requests found
......@@ -366,10 +366,7 @@ class IconUtility {
$iconFileName = 'icon_' . GeneralUtility::shortMD5(($iconfile . '|' . $mode . '|-' . $user . '|' . $protectSection)) . '_' . $iconFileName_stateTagged . '.' . ($GLOBALS['TYPO3_CONF_VARS']['GFX']['gdlib_png'] ? 'png' : 'gif');
$mainpath = '../typo3temp/' . $iconFileName;
$path = PATH_site . 'typo3temp/' . $iconFileName;
if (file_exists(PATH_typo3 . 'icons/' . $iconFileName)) {
// Returns if found in typo3/icons/
return 'icons/' . $iconFileName;
} elseif (file_exists($path)) {
if (file_exists($path)) {
// Returns if found in ../typo3temp/icons/
return $mainpath;
} else {
......
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