Prepend file

Submit a bug here
Post Reply
jdonth
Posts: 2
Joined: Mon Apr 19, 2021 12:49 pm

Prepend file

Post by jdonth » Fri Jun 23, 2023 1:10 pm

Does the auto_prepend_file option in the php.ini work? If so, any trick to where I put the file?

User avatar
mwiede
Site Admin
Posts: 34
Joined: Fri Oct 27, 2017 12:56 pm
Location: Germany
Contact:

Re: Prepend file

Post by mwiede » Sat Jun 24, 2023 3:28 pm

Yes it works.
Just append these directives to cfg/php.ini and restart WWebserver

Code: Select all

auto_prepend_file = "C:\WWebserver with PHP 8.2.2\auto_prepend_file.php"
auto_append_file = "C:\WWebserver with PHP 8.2.2\auto_append_file.php"

Post Reply