]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Updated elgg_get_plugin_path in load_plugin_manifest to elgg_get_plugins_path
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 3 Feb 2011 23:20:37 +0000 (23:20 +0000)
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 3 Feb 2011 23:20:37 +0000 (23:20 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8008 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/deprecated-1.8.php

index 10b7c0a8154b56a04400b81ee9f706842557117a..dbe53c1155e819fa02c63a2da4ea7c6455ac3b04 100644 (file)
@@ -1530,7 +1530,7 @@ function get_plugin_name($mainfilename = false) {
 function load_plugin_manifest($plugin) {
        elgg_deprecated_notice('load_plugin_manifest() is deprecated by ElggPlugin->getManifest()', 1.8);
 
-       $xml_file = elgg_get_plugin_path() . "$plugin/manifest.xml";
+       $xml_file = elgg_get_plugins_path() . "$plugin/manifest.xml";
 
        try {
                $manifest = new ElggPluginManifest($xml_file, $plugin);