Commit:    3b6f16ff3889453e81160a131ed306d91295dab4
Author:    Hannes Magnusson <[email protected]>         Tue, 3 Dec 2013 
23:31:08 -0800
Parents:   2e7616fdb4cb0d09f829f6240f4c96f5a09191e3
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=3b6f16ff3889453e81160a131ed306d91295dab4

Log:
This should be fully cached too

Changed paths:
  M  include/header.inc


Diff:
diff --git a/include/header.inc b/include/header.inc
index 699b8a7..3ca0cbb 100755
--- a/include/header.inc
+++ b/include/header.inc
@@ -73,7 +73,7 @@ if (isset($shortname) && $shortname) {
  $jsfiles = array('ext/modernizr.js');
  foreach ($jsfiles as $filename) {
    $path = dirname(dirname(__FILE__)).'/js/'.$filename;
-   echo '<script type="text/javascript" 
src="/js/'.$filename.'?t='.@filemtime($path).'"></script>';
+   echo '<script type="text/javascript" 
src="cached.php?f=/js/'.$filename.'&t='.@filemtime($path).'"></script>';
  }
 ?>
 </head>


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to