Hard-code DB credentials to ZnoteAAC
This commit is contained in:
parent
d4f49c7637
commit
b53c19929a
9
2do.txt
Normal file
9
2do.txt
Normal file
@ -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?
|
@ -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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user