Lacrimosa99 / Easy-WI-ARK-Mod-Manager

Easy-WI ARK Mod / Map Manager
GNU General Public License v3.0
6 stars 6 forks source link

Allow separation of Gamemaster and WebInterface #24

Closed Nurtic-Vibe closed 7 years ago

Nurtic-Vibe commented 7 years ago

Currently the Database connection is hardcoded, so the script only works when GameMaster and WebInterface are on the same machine

Lacrimosa99 commented 7 years ago

No, he can connect a remote connection to another server. I have write a remote ip question into the string.

Line 759 in the currently Script.

Lacrimosa99 commented 7 years ago

check if Database IP = localhost or extern IP. mysql -h <- for remote IP

Lacrimosa99 commented 7 years ago

https://github.com/Lacrimosa99/Easy-WI-ARK-Mod-Manager/commit/2ad499cb6e9273499a0299094496ae307b86b396

Nurtic-Vibe commented 7 years ago

Please also add a check if DATABASE_HOST etc. are already set and don't ask / ask only once if true.

Lacrimosa99 commented 7 years ago

Line 893 + 866 makes that ;)