mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
优化
phpmyadmin版本判断 waf的bug修改 soft页优化
This commit is contained in:
@@ -216,6 +216,10 @@ def errorLog():
|
||||
return '/www/server/phpmyadmin/error.log'
|
||||
|
||||
|
||||
def Version():
|
||||
return mw.readFile(getServerDir() + '/version.pl')
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
func = sys.argv[1]
|
||||
if func == 'status':
|
||||
@@ -230,6 +234,8 @@ if __name__ == "__main__":
|
||||
print(reload())
|
||||
elif func == 'conf':
|
||||
print(getConf())
|
||||
elif func == 'version':
|
||||
print(Version())
|
||||
elif func == 'config_inc':
|
||||
print(getConfInc())
|
||||
elif func == 'get_home_page':
|
||||
|
||||
Reference in New Issue
Block a user