Commit 87797051 authored by nanahira's avatar nanahira

fix links in plugin loading

parent c5cc49db
......@@ -3742,5 +3742,5 @@ if not fs.existsSync('./plugins')
plugin_list = fs.readdirSync("./plugins")
for plugin_filename in plugin_list
plugin_path = "./plugins/" + plugin_filename
plugin_path = process.cwd() + "/plugins/" + plugin_filename
require(plugin_path)
......@@ -4829,7 +4829,7 @@
for (m = 0, len2 = plugin_list.length; m < len2; m++) {
plugin_filename = plugin_list[m];
plugin_path = "./plugins/" + plugin_filename;
plugin_path = process.cwd() + "/plugins/" + plugin_filename;
require(plugin_path);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment