mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -600,7 +600,7 @@ def get_php_info(args):
|
||||
|
||||
|
||||
def getLibConf(version):
|
||||
fname = mw.getServerDir() + '/php/' + version + '/etc/php.ini'
|
||||
fname = getConf(version)
|
||||
if not os.path.exists(fname):
|
||||
return mw.returnJson(False, '指定PHP版本不存在!')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user