mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
增加global_static hook关键字,并优化menu的文件加载hook
"hook":[
{
"tag":"global_static",
"global_static": {
"css_path":"menu/own_style.css",
"js_path":"js/own_style.js"
}
}
],
This commit is contained in:
@@ -25,7 +25,7 @@ class App():
|
||||
|
||||
self.__host_dir = self.getServerDir() + '/host'
|
||||
if not os.path.exists(self.__host_dir):
|
||||
os.makedirs(self.__host_dir)
|
||||
mw.execShell('mkdir -p ' + self.__host_dir)
|
||||
|
||||
def getPluginName(self):
|
||||
return 'webssh'
|
||||
|
||||
Reference in New Issue
Block a user