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:
@@ -192,7 +192,7 @@ def makePhpIni(version):
|
||||
# shutil.copyfile(s_ini, d_ini)
|
||||
content = mw.readFile(d_ini)
|
||||
if version == '52':
|
||||
content.replace(
|
||||
content = content.replace(
|
||||
'[PHP]', "[PHP]\nauto_prepend_file=\"/www/server/php/app_start.php\"")
|
||||
mw.writeFile(s_ini, content)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user