mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-13 18:04:54 +02:00
Fix #346 Uneccesary OTHire engine logic separation
There is no need to create a separate configs for OTHIRE when establishing an SQL connection, and is confusing for new users who are configurating their webserver.
This commit is contained in:
18
config.php
18
config.php
@@ -29,9 +29,6 @@
|
||||
// MYSQL CONNECTION DETAILS \\
|
||||
// ------------------------ \\
|
||||
|
||||
if ($config['ServerEngine'] !== 'OTHIRE') {
|
||||
|
||||
// TFS DATABASE CONFIGS
|
||||
// phpmyadmin username for OT server: (DONT USE "root" if ur hosting to public.).
|
||||
$config['sqlUser'] = 'tfs13';
|
||||
|
||||
@@ -43,21 +40,6 @@
|
||||
|
||||
// Hostname is usually localhost or 127.0.0.1.
|
||||
$config['sqlHost'] = '127.0.0.1';
|
||||
} else {
|
||||
|
||||
// OTHIRE DATABASE CONFIG
|
||||
// phpmyadmin username for OT server: (DONT USE "root" if ur hosting to public.).
|
||||
$config['sql_user'] = 'tfs13';
|
||||
|
||||
// phpmyadmin password for OT server:
|
||||
$config['sql_pass'] = 'tfs13';
|
||||
|
||||
// The database name to connect to. (This is usually same as username).
|
||||
$config['sql_db'] = 'tfs13';
|
||||
|
||||
// Hostname is usually localhost or 127.0.0.1.
|
||||
$config['sql_host'] = '127.0.0.1';
|
||||
}
|
||||
|
||||
// QR code authenticator Only works with TFS 1.2+
|
||||
$config['twoFactorAuthenticator'] = false;
|
||||
|
Reference in New Issue
Block a user