Update index.py
This commit is contained in:
parent
44d254415e
commit
7e5116ba59
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue