summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
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");