mirror of
https://github.com/midoks/mdserver-web
synced 2026-11-04 19:16:00 +08:00
update
This commit is contained in:
@@ -308,7 +308,7 @@ def getPhpConf(version):
|
||||
phpini = mw.readFile(getConf(version))
|
||||
result = []
|
||||
for g in gets:
|
||||
rep = g['name'] + r'\s*=\s*([0-9A-Za-z_& ~]+)(\s*;?|\r?\n)'
|
||||
rep = g['name'] + r'\s*=\s*(-?[0-9A-Za-z_& ~]+)(\s*;?|\r?\n)'
|
||||
tmp = re.search(rep, phpini)
|
||||
if not tmp:
|
||||
continue
|
||||
|
||||
@@ -307,7 +307,7 @@ def getPhpConf(version):
|
||||
phpini = mw.readFile(getConf(version))
|
||||
result = []
|
||||
for g in gets:
|
||||
rep = g['name'] + r'\s*=\s*([0-9A-Za-z_& ~]+)(\s*;?|\r?\n)'
|
||||
rep = g['name'] + r'\s*=\s*(-?[0-9A-Za-z_& ~]+)(\s*;?|\r?\n)'
|
||||
tmp = re.search(rep, phpini)
|
||||
if not tmp:
|
||||
continue
|
||||
|
||||
@@ -447,7 +447,7 @@ def getPhpConf(version):
|
||||
phpini = mw.readFile(getConf(version))
|
||||
result = []
|
||||
for g in gets:
|
||||
rep = g['name'] + r'\s*=\s*([0-9A-Za-z_& ~]+)(\s*;?|\r?\n)'
|
||||
rep = g['name'] + r'\s*=\s*(-?[0-9A-Za-z_& ~]+)(\s*;?|\r?\n)'
|
||||
tmp = re.search(rep, phpini)
|
||||
if not tmp:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user