summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2024-01-13 12:33:11 +0300
committerAndrew Dolgov <[email protected]>2024-01-13 12:33:11 +0300
commitdf96606477ea5bb866c8c615441037f07fafd3b0 (patch)
treef642667324bf90cea4b5e794cef9b296a670c34f /index.php
parentd31fcb72cc6f6b2d1d798a75ff62d06c4dcd0cb4 (diff)
fonts, service worker cleanup
Diffstat (limited to 'index.php')
-rw-r--r--index.php34
1 files changed, 18 insertions, 16 deletions
diff --git a/index.php b/index.php
index 18832e7..c49c69a 100644
--- a/index.php
+++ b/index.php
@@ -29,22 +29,24 @@
// TODO: this should be unified with the service worker cache list
$check_files_mtime = [
- 'manifest.json',
- 'worker.js',
- 'img/ic_launcher_web.png',
- 'img/favicon.png',
- 'read.html',
- 'dist/app.min.js',
- 'dist/app.min.css',
- 'dist/app-libs.min.js',
- 'dist/reader_iframe.min.js',
- 'dist/reader_iframe.min.css',
- 'offline.html',
- 'lib/bootstrap/v3/css/bootstrap-theme.min.css',
- 'lib/bootstrap/v3/css/bootstrap.min.css',
- 'lib/bootstrap/v3/css/theme-dark.min.css',
- 'lib/bootstrap/v3/fonts/glyphicons-halflings-regular.woff2'
- ];
+ 'manifest.json',
+ 'worker.js',
+ 'img/ic_launcher_web.png',
+ 'img/favicon.png',
+ 'read.html',
+ 'dist/app.min.js',
+ 'dist/app.min.css',
+ 'dist/app-libs.min.js',
+ 'dist/reader_iframe.min.js',
+ 'dist/reader_iframe.min.css',
+ 'offline.html',
+ 'lib/bootstrap/v3/css/bootstrap-theme.min.css',
+ 'lib/bootstrap/v3/css/bootstrap.min.css',
+ 'lib/bootstrap/v3/css/theme-dark.min.css',
+ 'lib/bootstrap/v3/fonts/glyphicons-halflings-regular.woff2'
+ ];
+
+ $check_files_mtime = array_merge($check_files_mtime, glob('lib/fonts/*'));
$check_files_mtime = array_filter($check_files_mtime, "file_exists");