From 07500a8d8b04bd147bd46bdfc01a94524675d0d6 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 23 Sep 2008 02:50:21 -0400 Subject: [PATCH] append LACONICA_VERSION to css files to force reload darcs-hash:20080923065021-5ed1f-cef0ed94149b862aa4bf3b1d0189d6fb6d15aaf7.gz --- lib/util.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/util.php b/lib/util.php index edab7aad87..2a8fdee75e 100644 --- a/lib/util.php +++ b/lib/util.php @@ -161,13 +161,13 @@ function common_show_header($pagetitle, $callable=NULL, $data=NULL, $headercall= $pagetitle . " - " . $config['site']['name']); common_element('link', array('rel' => 'stylesheet', 'type' => 'text/css', - 'href' => theme_path('display.css'), + 'href' => theme_path('display.css') . '?' . LACONICA_VERSION, 'media' => 'screen, projection, tv')); foreach (array(6,7) as $ver) { if (file_exists(theme_file('ie'.$ver.'.css'))) { # Yes, IE people should be put in jail. $xw->writeComment('[if lte IE '.$ver.']>