summaryrefslogtreecommitdiff
path: root/mirror.php
diff options
context:
space:
mode:
Diffstat (limited to 'mirror.php')
-rw-r--r--mirror.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mirror.php b/mirror.php
index 57b01cf..cb48b43 100644
--- a/mirror.php
+++ b/mirror.php
@@ -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) {