append LACONICA_VERSION to css files to force reload

darcs-hash:20080923065021-5ed1f-cef0ed94149b862aa4bf3b1d0189d6fb6d15aaf7.gz
This commit is contained in:
Evan Prodromou 2008-09-23 02:50:21 -04:00
parent 64c27d57cf
commit 07500a8d8b
1 changed files with 2 additions and 2 deletions

View File

@ -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]');
}
}