phpmyadmin版本判断
waf的bug修改
soft页优化
This commit is contained in:
midoks
2022-06-27 14:31:31 +08:00
parent 07c6b58723
commit 0d973f7a76
4 changed files with 31 additions and 11 deletions
+6
View File
@@ -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':