Changed t3lib_basicFileFunctions to use filemtime() instead of filectime()
authorMichael Stucki <michael.stucki@typo3.org>
Sun, 4 Feb 2007 21:04:20 +0000 (21:04 +0000)
committerMichael Stucki <michael.stucki@typo3.org>
Sun, 4 Feb 2007 21:04:20 +0000 (21:04 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1979 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_basicfilefunc.php

index 9b53f54..9bab9eb 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
        * Extended db_mountpoint and file_mountpoint fields into to 255 bytes size
        * Fixed bug #3069: Extension manager crashed because of some PHP bug with version_compare() (thanks to Rainer Haertlein who discovered the solution to this problem)
+       * Changed t3lib_basicFileFunctions to use filemtime() instead of filectime()
 
 2007-02-04  Oliver Hader  <oh@inpublica.de>
 
index 3bb0286..000f59f 100644 (file)
@@ -152,7 +152,7 @@ class t3lib_basicFileFunctions      {
        function getTotalFileInfo($wholePath)   {
                $theuser = getmyuid();
                $info = t3lib_div::split_fileref($wholePath);
-               $info['tstamp'] = @filectime($wholePath);
+               $info['tstamp'] = @filemtime($wholePath);
                $info['size'] = @filesize($wholePath);
                $info['type'] = @filetype($wholePath);
                $info['owner'] = @fileowner($wholePath);