Merge branch 'master' of github.com:timw4mail/Easy-Min

This commit is contained in:
Timothy Warren 2011-09-07 17:09:30 -04:00
commit e10af876b1
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ if($last_modified === $requested_time)
header("Content-Type: text/css; charset=utf8");
header("Cache-control: public, max-age=691200, must-revalidate");
header("Last-Modified: ".gmdate('D, d M Y H:i:s', $last_modified)." GMT");
header("Expires: ".gmdate('D, d M Y H:i:s', (filemtime($base_path.'css.tsp') + 691200))." GMT");
header("Expires: ".gmdate('D, d M Y H:i:s', (filemtime($base_path.'css.php') + 691200))." GMT");
echo $css;

2
js.php
View File

@ -80,7 +80,7 @@ else
header("Content-Type: application/x-javascript; charset=utf8");
header("Cache-control: public, max-age=691200, must-revalidate");
header("Last-Modified: ".gmdate('D, d M Y H:i:s', $last_modified)." GMT");
header("Expires: ".gmdate('D, d M Y H:i:s', (filemtime($base_path.'js.tsp') + 691200))." GMT");
header("Expires: ".gmdate('D, d M Y H:i:s', (filemtime($base_path.'js.php') + 691200))." GMT");
echo $js;