mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Correct example. Fix #52764
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302984 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
9412bf3cd4
commit
0334b04ba3
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ if (!$stat) {
|
|||
* We want the access time to be 1 week
|
||||
* before the current access time.
|
||||
*/
|
||||
$atime = $stat['atime'] + 604800;
|
||||
$atime = strtotime('-1 week', $stat['atime']);
|
||||
|
||||
/* Touch the file */
|
||||
if (!touch('some_file.txt', time(), $atime)) {
|
||||
|
|
Loading…
Reference in a new issue