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