Project

General

Profile

Actions

Bug #19046

closed

TYPO3 logo in backend gets pulled from location which does not use the mainDir constant

Added by Christian Lerrahn over 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-07-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When /typo3/classes/class.typo3logo.php wants to determine the size of /typo3/gfx/typo3logo_mini.png for the BE, it uses a static string 'typo3/' in line 63.

$imgInfo = getimagesize(PATH_site.'typo3/'.$logoFile);

However, this will break sites which use a non-standard path for the BE.

I believe this should be using the constant mainDir instead which installs with non-standard BE paths will have adjusted, anyway.

(issue imported from #M8879)


Files

8879.diff (690 Bytes) 8879.diff Administrator Admin, 2008-07-04 10:39

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #20090: Hardcoded backend main dir in typo3/classes/class.typo3logo.phpClosedBenni Mack2009-02-24

Actions
Actions #1

Updated by Steffen Kamper over 16 years ago

it's a nobrainer, i attached the patch

Actions #2

Updated by Christian Kuhn over 14 years ago

Resolved as duplicate of #20090, fixed in rev. 5076

Actions #3

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF