From 691da2407c6dc49f8ea9a060ee3284f5b448e447 Mon Sep 17 00:00:00 2001 From: Nils Weiher Date: Tue, 26 Nov 2019 12:10:25 +0100 Subject: [PATCH] add getPluginPath method to SwordImportExportPlugin to allow fix plugin installation from CLI https://github.com/pkp/sword/issues/2 --- SwordImportExportPlugin.inc.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/SwordImportExportPlugin.inc.php b/SwordImportExportPlugin.inc.php index 957d7fb..e5eb44a 100644 --- a/SwordImportExportPlugin.inc.php +++ b/SwordImportExportPlugin.inc.php @@ -68,6 +68,13 @@ public function getName() { return 'SwordImportExportPlugin'; } + /** + * @copydoc Plugin::getPluginPath() + */ + function getPluginPath() { + return $this->_parentPlugin->getPluginPath(); + } + /** * Get the display name. * @return string