Project

General

Profile

Actions

Bug #37946

closed

extension manager PHP warning on Windows

Added by Tomasz Krawczyk about 12 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
Code Cleanup
Target version:
-
Start date:
2012-06-12
Due date:
% Done:

100%

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

Description

On my IIS I have such warnings when I click "Check for new updates"

PHP Warning:  filemtime(): stat failed for D:/(...)/typo3temp/extensions.xml.gz in D:\(...)\typo3_src\typo3\sysext\em\classes\index.php on line 2466

Line 2466 contains instruction:

filemtime(PATH_site . 'typo3temp/extensions.xml.gz')

So, in order to avoid such messages we need to add @ operator before the filemtime function.

@filemtime(PATH_site . 'typo3temp/extensions.xml.gz')
Actions

Also available in: Atom PDF