1
0

Use proper path for bundled plugins to point to NEWS/ChangeLog

This commit is contained in:
Garvin Hicking
2009-05-25 07:37:57 +00:00
parent 56e69bd686
commit 4940f9d0b5
2 changed files with 11 additions and 7 deletions

View File

@ -568,7 +568,10 @@ class serendipity_plugin_api
}
}
$p->pluginPath = $pluginPath;
$p->pluginPath = $p->act_pluginPath = $pluginPath;
if (empty($p->act_pluginPath)) {
$p->act_pluginPath = $class_name;
}
$p->pluginFile = $pluginFile;
return $p;
@ -1165,6 +1168,7 @@ class serendipity_plugin
var $content_class = 'serendipitySideBarContent';
var $title = null;
var $pluginPath = null;
var $act_pluginPath= null;
var $pluginFile = null;
var $serendipity_owner = null;