Update index.py

This commit is contained in:
midoks 2020-09-30 03:10:48 +08:00
parent 44d254415e
commit 7e5116ba59
1 changed files with 1 additions and 2 deletions

View File

@ -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)