diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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(); }); }); |