diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-23 17:15:28 +0000 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-23 17:15:28 +0000 |
commit | 8affe69c351110b488d485bbafcb777beaca4862 (patch) | |
tree | 3399d82e770b1210866c75d4641fa6911983ff30 /mirror.php | |
parent | fef9a28734a29b115328cd63e9f16911871c60b5 (diff) |
mirror.php: don't resolve links when getting the ctime
Diffstat (limited to 'mirror.php')
-rw-r--r-- | mirror.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ if (!file_exists($root.'/'.$filename)) { } else { $mirror = $tier0_url; if (!should_force_tier0($filename)) { - $ctime = filectime($root.'/'.$filename); + $ctime = lstat($root.'/'.$filename)['ctime']; // TODO: weight by GeoIP or quality or something? $mirrors = array(); foreach ($mirrors_urls as $mirrors_url) { |