Fix #626, Plugins don't work if pad is on a subdir

This commit is contained in:
0ip 2012-04-19 19:44:44 +03:00
parent 4a7ab12859
commit a743112170
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ if (exports.isClient) {
// which appears to fix the issue.
var callback = function () {setTimeout(cb, 0);};
jQuery.getJSON('/pluginfw/plugin-definitions.json', function(data) {
jQuery.getJSON('../pluginfw/plugin-definitions.json', function(data) {
exports.plugins = data.plugins;
exports.parts = data.parts;
exports.hooks = exports.extractHooks(exports.parts, "client_hooks");