- Make local_skin_path() to be a public method

release-0.6
alecpl 13 years ago
parent b0689bd500
commit 715a1b143c

@ -283,14 +283,14 @@ abstract class rcube_plugin
else
return $fn;
}
/**
* Provide path to the currently selected skin folder within the plugin directory
* with a fallback to the default skin folder.
*
* @return string Skin path relative to plugins directory
*/
protected function local_skin_path()
public function local_skin_path()
{
$skin_path = 'skins/'.$this->api->config->get('skin');
if (!is_dir(realpath(slashify($this->home) . $skin_path)))

Loading…
Cancel
Save