CollectiveIndustries / StarfleetDelta

Repository for Starfleet Delta Webpage, Database, and all in world scripts
https://www.starfleetdelta.com/
GNU General Public License v3.0
2 stars 4 forks source link

[Installer] Class uploader truncating tables before upload. #55

Closed Morketh closed 7 years ago

Morketh commented 7 years ago

This Pull Request fixes the parsing system to ignore already present ClassIDs, it also adds in a exception clause to the MySQL init function if the values in the configuration file are wrong an exception is thrown and caught and proper DB credentials are now asked for instead of killing the script. Since this is a commonly used function across all the DB management scripts this will ask for credentials for every program run if its wrong.