diff options
author | Sarven Capadisli <csarven@status.net> | 2009-11-08 23:10:34 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2009-11-08 23:10:34 +0000 |
commit | 8e58f241739b97bd53f78035781f16e2067a31d9 (patch) | |
tree | 8ad366f5f408d1181b1816f607a120fe0c91c502 /lib/htmloutputter.php | |
parent | 2a0a363e1d846334bc37d46b5f6f42e64a5a96eb (diff) | |
parent | b78a35ec73980d8dfa2fcb68ef81936f4b3c110b (diff) |
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'lib/htmloutputter.php')
-rw-r--r-- | lib/htmloutputter.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php index ce83295fb..73bd9ce81 100644 --- a/lib/htmloutputter.php +++ b/lib/htmloutputter.php @@ -76,7 +76,7 @@ class HTMLOutputter extends XMLOutputter /** * Start an HTML document * - * If $type isn't specified, will attempt to do content negotiation. + * If $type is not specified, will attempt to do content negotiation. * * Attempts to do content negotiation for language, also. * @@ -375,8 +375,8 @@ class HTMLOutputter extends XMLOutputter $url = parse_url($src); 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; + if(file_exists(Theme::file($src,$theme))){ + $src = Theme::path($src, $theme) . '?version=' . STATUSNET_VERSION; }else{ $src = common_path($src); } |