diff --git a/lib/template.php b/lib/template.php index 0755b36..98c085f 100644 --- a/lib/template.php +++ b/lib/template.php @@ -109,6 +109,10 @@ function buildcommon() { array_map('imagedestroy', $handles); // free } + // Cache-busting stylesheet + + $style = '.homeimage-sprite { background-image: url("logos.jpg?'.md5_file(BASEDIR.'wwwroot/logos.jpg').'"); }'; + // Build index page ob_start(); @@ -120,6 +124,10 @@ function buildcommon() { + + $pr) { ?>