diff options
author | Craig Andrews <candrews@integralblue.com> | 2010-02-17 12:03:14 -0500 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2010-02-17 12:03:14 -0500 |
commit | 46e9aa13aa87955b441bc63b7cf2f58622b131b0 (patch) | |
tree | f57c2927d3ecfe415bac335cbed243bc61face06 /plugins/OStatus/OStatusPlugin.php | |
parent | c19300272f0074359b2713c35d2fb46bbd1b42ec (diff) |
htmloutputter->script() special cases src's that begin with plugin/ or local/ so that plugins don't need to include common_path() in every call to $action->script()
Adjust plugins to not call common_path() when it's not necessary
Fix minify plugin
Diffstat (limited to 'plugins/OStatus/OStatusPlugin.php')
-rw-r--r-- | plugins/OStatus/OStatusPlugin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index 3b1329d6c..a30f68cb3 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -281,12 +281,12 @@ class OStatusPlugin extends Plugin } function onEndShowStatusNetStyles($action) { - $action->cssLink(common_path('plugins/OStatus/theme/base/css/ostatus.css')); + $action->cssLink('plugins/OStatus/theme/base/css/ostatus.css'); return true; } function onEndShowStatusNetScripts($action) { - $action->script(common_path('plugins/OStatus/js/ostatus.js')); + $action->script('plugins/OStatus/js/ostatus.js'); return true; } } |