From: Evan Prodromou Date: Tue, 23 Sep 2008 06:50:21 +0000 (-0400) Subject: append LACONICA_VERSION to css files to force reload X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=07500a8d8b04bd147bd46bdfc01a94524675d0d6;p=quix0rs-gnu-social.git append LACONICA_VERSION to css files to force reload darcs-hash:20080923065021-5ed1f-cef0ed94149b862aa4bf3b1d0189d6fb6d15aaf7.gz --- 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.']>