mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-02 09:14:34 +02:00
change $db_password to $db_pass
This commit is contained in:
parent
3b9c5d16f8
commit
fa154b007f
11 changed files with 41 additions and 30 deletions
6
init.php
6
init.php
|
@ -71,6 +71,10 @@ if(!empty($db_password)){
|
|||
// compability for old version
|
||||
$db_pass = $db_password;
|
||||
}
|
||||
if(!empty($db_pass)){
|
||||
// compability for old version
|
||||
$db_password = $db_pass;
|
||||
}
|
||||
ORM::configure("mysql:host=$db_host;dbname=$db_name");
|
||||
ORM::configure('username', $db_user);
|
||||
ORM::configure('password', $db_pass);
|
||||
|
@ -329,7 +333,7 @@ function _alert($text, $type = 'success', $url = "home", $time = 3)
|
|||
|
||||
|
||||
if (!isset($api_secret)) {
|
||||
$api_secret = $db_password;
|
||||
$api_secret = $db_pass;
|
||||
}
|
||||
|
||||
function displayMaintenanceMessage(): void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue