- Base difficult settings (the custom one)
- Base game options (town names, climate)
- Some patch-settings which often get changed between new games
- NewGRFs
This script will not control a server in some way like start and stop it nor send it any rcon commands to the server. It isn't also used to change the whole openttd.cfg file with all possible settings. As you can activate/deactive newgrfs it doesn't do any filesystem operation to manage them like move, delete, upload and stuff. It just changed the openttd.cfg file.
Installation:
Just put it in a directory which can be reached by a browser. As it doesn't have some login-functionality you should add a login via .htaccess or other techniques. At the beginning of the php-file is the setting for the openttd-path. Change it to your actually openttd-installation, the directory which contains the openttd binary.
As this script read and write the openttd.cfg file and read the newgrfs list in the data/ directory the webserver must be allowed to do so. This means it must be got file-read-access (+r) and read + search access for the directory (+rx) to operate. You should backup the openttd.cfg file before testing it.
Please write some feedback about the script.