OStatus uses Plugin::path()
This commit is contained in:
parent
c8386c7ecb
commit
22e8893fba
@ -419,12 +419,12 @@ class OStatusPlugin extends Plugin
|
|||||||
}
|
}
|
||||||
|
|
||||||
function onEndShowStatusNetStyles($action) {
|
function onEndShowStatusNetStyles($action) {
|
||||||
$action->cssLink('plugins/OStatus/theme/base/css/ostatus.css');
|
$action->cssLink($this->path('theme/base/css/ostatus.css'));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function onEndShowStatusNetScripts($action) {
|
function onEndShowStatusNetScripts($action) {
|
||||||
$action->script('plugins/OStatus/js/ostatus.js');
|
$action->script($this->path('js/ostatus.js'));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1112,7 +1112,8 @@ class Ostatus_profile extends Memcached_DataObject
|
|||||||
return $url;
|
return $url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return common_path('plugins/OStatus/images/96px-Feed-icon.svg.png');
|
|
||||||
|
return Plugin::staticPath('OStatus', 'images/96px-Feed-icon.svg.png');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user