Project

General

Profile

Actions

Bug #24959

closed

Make createVersionNumberedFilename() use native dirname() function

Added by Steffen Gebert almost 14 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-02-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

t3lib_div::createVersionNumberedFilename() calls t3lib_div::dirname() which explodes the path.
The whole thing is called few hundered times, while opening the Backend. This takes ~1.5% of the BE generation time.

Calling PHP's native dirname() function could speed up createVersionNumberedFilename, we just have to take care of the slightly differences! (providing /foo/bar/ returns /foo/, currently we get /foo/bar/)

(issue imported from #M17487)

Actions #1

Updated by Alexander Opitz over 10 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • Is Regression set to No

Hi,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.3)?

Actions #2

Updated by Alexander Opitz about 10 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF