diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2008-09-23 02:50:21 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2008-09-23 02:50:21 -0400 |
commit | 07500a8d8b04bd147bd46bdfc01a94524675d0d6 (patch) | |
tree | 3aa77d3545e96aa0e6837687d5596ddf5598dd1f /lib/util.php | |
parent | 64c27d57cf1d273b70dbbd05965e1f496bf59829 (diff) |
append LACONICA_VERSION to css files to force reload
darcs-hash:20080923065021-5ed1f-cef0ed94149b862aa4bf3b1d0189d6fb6d15aaf7.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php index edab7aad8..2a8fdee75 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.']><link rel="stylesheet" type="text/css" '. - 'href="'.theme_path('ie'.$ver.'.css').'" /><![endif]'); + 'href="'.theme_path('ie'.$ver.'.css').'?'.LACONICA_VERSION.'" /><![endif]'); } } |