mirror of
https://github.com/mrclay/minify.git
synced 2025-08-24 14:42:50 +02:00
+ Minify::$uploaderHoursBehind
+ fixed backtrace limit issue in Minify_HTML + default max-age of 30 minutes (instead of 0)
This commit is contained in:
@@ -51,7 +51,9 @@ class Minify_Source {
|
||||
}
|
||||
$this->_filepath = $spec['filepath'];
|
||||
$this->_id = $spec['filepath'];
|
||||
$this->lastModified = filemtime($spec['filepath']);
|
||||
$this->lastModified = filemtime($spec['filepath'])
|
||||
// offset for Windows uploaders with out of sync clocks
|
||||
+ round(Minify::$uploaderHoursBehind * 3600);
|
||||
} elseif (isset($spec['id'])) {
|
||||
$this->_id = 'id::' . $spec['id'];
|
||||
if (isset($spec['content'])) {
|
||||
|
Reference in New Issue
Block a user