aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/plugins.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/plugins.php')
-rw-r--r--engine/lib/plugins.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php
index dded13ef4..29f55926c 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -279,7 +279,7 @@ function get_plugin_name($mainfilename = false) {
* @return array of values
*/
function load_plugin_manifest($plugin) {
- $xml_file = get_config('pluginspath') . "$plugin/manifest.xml";
+ $xml_file = elgg_get_plugin_path() . "$plugin/manifest.xml";
try {
$manifest = new ElggPluginManifest($xml_file, $plugin);