projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac2c5be
)
Asset.php
author
Alan Knowles
<alan@roojs.com>
Wed, 27 Dec 2017 04:52:33 +0000
(12:52 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 27 Dec 2017 04:52:33 +0000
(12:52 +0800)
Asset.php
patch
|
blob
|
history
diff --git
a/Asset.php
b/Asset.php
index
40c697c
..
8f110c4
100644
(file)
--- a/
Asset.php
+++ b/
Asset.php
@@
-65,6
+65,10
@@
class Pman_Core_Asset extends Pman {
exit;
}
+
+ $supportsGzip = !empty($_SERVER['HTTP_ACCEPT_ENCODING']) && strpos( $_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip' ) !== false;
+
+
$last_modified_time = filemtime($fn);