summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/index.php b/index.php
index c49c69a..0788464 100644
--- a/index.php
+++ b/index.php
@@ -47,15 +47,8 @@
];
$check_files_mtime = array_merge($check_files_mtime, glob('lib/fonts/*'));
-
$check_files_mtime = array_filter($check_files_mtime, "file_exists");
- $last_mtime = array_reduce(
- array_map("filemtime", $check_files_mtime),
- function ($carry, $item) {
- return $item > $carry ? $item : $carry;
- }, 0);
-
$mode = htmlspecialchars($_REQUEST["mode"] ?? "");
$ldb = Db::pdo();
@@ -87,7 +80,6 @@
App.cached_urls = JSON.parse('<?= json_encode($check_files_mtime) ?>');
App.index_mode = "<?= $mode ?>";
App.version = "<?= Config::get_version(true) ?>";
- App.last_mtime = parseInt("<?= $last_mtime ?>");
App.init();
});
});