From 7a86e15575d389445eaaa77c49cbdbd82826dc76 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 30 Sep 2020 02:50:47 +0800 Subject: [PATCH] Update index.py --- plugins/php/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/php/index.py b/plugins/php/index.py index 161c68196..f68da7577 100755 --- a/plugins/php/index.py +++ b/plugins/php/index.py @@ -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)