2
0
utsushiiro 7 жил өмнө
parent
commit
70e28331a6

+ 4 - 0
src/server/util/swigFunctions.js

@@ -41,6 +41,10 @@ module.exports = function(crowi, app, req, locals) {
     return fontSize;
   };
 
+  locals.getConfig = function(namespace, key) {
+    crowi.configManager.getConfig(namespace, key);
+  };
+
   /**
    * return app title
    */