append LACONICA_VERSION to css files to force reload
darcs-hash:20080923065021-5ed1f-cef0ed94149b862aa4bf3b1d0189d6fb6d15aaf7.gz
This commit is contained in:
parent
64c27d57cf
commit
07500a8d8b
|
@ -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]');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user