summaryrefslogtreecommitdiff
path: root/manifest.json.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-02-12 16:35:25 +0300
committerAndrew Dolgov <[email protected]>2009-02-12 16:35:25 +0300
commit79e565a97568cea2fc8a235c83b2f2f5fc556a6f (patch)
tree93863ef251aceb819fe8ad763bb54e9a0d839e7c /manifest.json.php
parent338c238d9313a9d889fbad6042261dc8ec1e60ab (diff)
offline: add progress indicator; tweak download intervals and amount of articles
Diffstat (limited to 'manifest.json.php')
-rw-r--r--manifest.json.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifest.json.php b/manifest.json.php
index 22ea4cda2..525bc6103 100644
--- a/manifest.json.php
+++ b/manifest.json.php
@@ -79,7 +79,7 @@
foreach ($manifest_files as $f) {
$tmp = filemtime($f);
- if ($tmp > $mtime) {
+ if ($tmp > $mtime_max) {
$mtime_max = $tmp;
}
@@ -89,7 +89,7 @@
{
"betaManifestVersion": 1,
- "version": "<?php echo $mtime_max ?>",
+ "version": "<?php echo date("Y.m.d H:i:s", $mtime_max) ?>",
"entries": [
<?php echo join(",\n ", $manifest_formatted); ?>
]