X-Git-Url: https://git.m6w6.name/?p=m6w6%2Freplicator;a=blobdiff_plain;f=public%2Findex.php;h=639f1e2238881cd05222a21964538ad4c87051d3;hp=9f35721218519a6fcae5402c58b39738f4c56dfd;hb=9754f6d5b5c0e15606cfe01d87df89fc0eae57df;hpb=344c869c38c22c9a0e1590c1dc5640b308c0fe5e
diff --git a/public/index.php b/public/index.php
index 9f35721..639f1e2 100644
--- a/public/index.php
+++ b/public/index.php
@@ -78,7 +78,6 @@
Package |
Date |
- Size |
Pharext |
@@ -119,7 +118,15 @@
list($phar, $meta)) : ?>
ext.phar= htmlspecialchars($ext) ?>
+ >ext.phar= htmlspecialchars($ext) ?>
+
|
@@ -132,7 +139,7 @@
$time = time();
$dsec = 86400;
- $lmod = filemtime($phar);
+ $lmod = isset($meta["date"]) ? strtotime($meta["date"]) : filemtime($phar);
$days = [1 => "today", "yesterday"];
do {
for ($i = 1; $i < 7; ++$i) {
@@ -156,16 +163,6 @@
?>
-
-
- |
-
|