From: Craig Andrews Date: Sat, 5 Dec 2009 03:05:18 +0000 (-0500) Subject: Append the StatusNet version to all local, static CSS references X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fa6675550885e005f6a69dfd317320dff6c4a3cd;p=quix0rs-gnu-social.git Append the StatusNet version to all local, static CSS references --- diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php index cf93944e76..fd448ced5e 100644 --- a/lib/htmloutputter.php +++ b/lib/htmloutputter.php @@ -405,10 +405,11 @@ class HTMLOutputter extends XMLOutputter if( empty($url->scheme) && empty($url->host) && empty($url->query) && empty($url->fragment)) { if(file_exists(Theme::file($src,$theme))){ - $src = Theme::path($src, $theme) . '?version=' . STATUSNET_VERSION; + $src = Theme::path($src, $theme); }else{ $src = common_path($src); } + $src.= '?version=' . STATUSNET_VERSION; } $this->element('link', array('rel' => 'stylesheet', 'type' => 'text/css',