summaryrefslogtreecommitdiff
path: root/lib/htmloutputter.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-12-04 22:05:18 -0500
committerCraig Andrews <candrews@integralblue.com>2009-12-04 22:05:18 -0500
commitfa6675550885e005f6a69dfd317320dff6c4a3cd (patch)
tree789cf95783ad71833d42c8acb8b5d5f154f902a9 /lib/htmloutputter.php
parentd41a0a5ed03b2f4bbf8e8b3984960103383090d1 (diff)
Append the StatusNet version to all local, static CSS references
Diffstat (limited to 'lib/htmloutputter.php')
-rw-r--r--lib/htmloutputter.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php
index cf93944e7..fd448ced5 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',