diff --git a/2do.txt b/2do.txt new file mode 100644 index 0000000..6628fba --- /dev/null +++ b/2do.txt @@ -0,0 +1,9 @@ +2do list: + +Critical: +- When phpmyadmin install-script generates a password, it doesnt match with the password stored in '/etc/phpmyadmin/config-db.php'. +- At least hard-code DB credentials to /var/www/ZnoteAAC/config.php so it can be able to access. + +Refactor: +- Remove phpmyadmin dependencies written in install-script. Dependencies should be in the dockerfile. (Also make a copy of the original script). +- Check for more phpmyadmin errors. Proper php.ini tweaking? diff --git a/app/ZnoteAAC/config.php b/app/ZnoteAAC/config.php index ae9538e..9607f2c 100644 --- a/app/ZnoteAAC/config.php +++ b/app/ZnoteAAC/config.php @@ -30,13 +30,13 @@ // ------------------------ \\ // phpmyadmin username for OT server: (DONT USE "root" if you are hosting to public). - $config['sqlUser'] = 'tfs13'; + $config['sqlUser'] = 'forgottenserver'; // phpmyadmin password for OT server: - $config['sqlPassword'] = 'tfs13'; + $config['sqlPassword'] = 'forgotten'; // The database name to connect to. (This is usually same as username). - $config['sqlDatabase'] = 'tfs13'; + $config['sqlDatabase'] = 'forgottenserver'; // Hostname is usually localhost or 127.0.0.1. $config['sqlHost'] = '127.0.0.1'; @@ -637,7 +637,7 @@ // What client version and server port are you using on this OT? // Used for the Downloads page. - $config['client'] = 1098; // 954 = client 9.54 + $config['client'] = 792; // 954 = client 9.54 // Download link to client. $config['client_download'] = 'http://tibiaclient.otslist.eu/download/tibia'. $config['client'] .'.exe';