1
0
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:
Steve Clay
2008-07-29 03:48:10 +00:00
parent 8de36cc08f
commit 0697a120ee
6 changed files with 31 additions and 13 deletions

View File

@@ -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'])) {