mxwcore-wotlk/apps/config-merger
mikx 749adf47ca latest sources commit 2023-11-07 05:04:30 -05:00
..
README.md latest sources commit 2023-11-07 05:04:30 -05:00
index.php latest sources commit 2023-11-07 05:04:30 -05:00
merge.php latest sources commit 2023-11-07 05:04:30 -05:00

README.md

==== PHP merger (index.php + merge.php) ====

This is a PHP script for merging a new .dist file with your existing .conf file (worldserver.conf.dist and authserver.conf.dist)

It uses sessions so it is multi user safe, it adds any options that are removed to the bottom of the file commented out, just in case it removes something it shouldn't. If you add your custom patch configs below "# Custom" they will be copied exactly as they are.

Your new config will be found under $basedir/session_id/newconfig.conf.merge

If you do not run a PHP server on your machiene you can read this guide on "How to execute PHP code using command line?" on geeksforgeeks.org.

php -S localhost:port -t E:\Azerothcore-wotlk\apps\config-merger\

Change port to an available port to use. i.e 8000

Then go to your browser and type:

localhost:8000/index.php