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