From b2341679d53b227fc90fba34c3a7e6453e3cad6e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 6 Feb 2021 15:10:40 +0300 Subject: fix nonexistant file warning --- index.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index 9da75cd..85e19a1 100644 --- a/index.php +++ b/index.php @@ -60,6 +60,8 @@ 'lib/fonts/pmn-caecilia-75.ttf' ]; + $check_files_mtime = array_filter($check_files_mtime, "file_exists"); + $last_mtime = array_reduce( array_map("filemtime", $check_files_mtime), function ($carry, $item) { -- cgit v1.2.3