|
|
|
@ -631,7 +631,7 @@ def setDisableFunc(version): |
|
|
|
|
def checkPhpinfoFile(v): |
|
|
|
|
sdir = mw.getServerDir() |
|
|
|
|
dfile = sdir + '/web_conf/php/status/phpinfo_' + v + '.conf' |
|
|
|
|
if not os.path.exists(dfile): |
|
|
|
|
|
|
|
|
|
tpl = getPluginDir() + '/conf/phpinfo.conf' |
|
|
|
|
content = mw.readFile(tpl) |
|
|
|
|
content = contentReplace(content, v) |
|
|
|
|