v1.18.x
Julian Lam 11 years ago
parent 1e7adda054
commit b7cb0d02f8

@ -164,6 +164,8 @@ var fs = require('fs'),
fs.exists(staticDir, function(exists) { fs.exists(staticDir, function(exists) {
if (exists) { if (exists) {
Plugins.staticDirs[mappedPath] = staticDir; Plugins.staticDirs[mappedPath] = staticDir;
} else {
winston.warn('[plugins/' + pluginData.id + '] Mapped path \'' + mappedPath + ' => ' + staticDir + '\' not found.');
} }
}); });
}(staticDir)); }(staticDir));

Loading…
Cancel
Save