mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
1) Refactor App->config[] into Core\Config
This commit is contained in:
parent
82f713cb7f
commit
be6b229534
11 changed files with 191 additions and 177 deletions
|
@ -100,10 +100,10 @@ HELP;
|
|||
}
|
||||
}
|
||||
|
||||
$db_host = $a->getConfigValue('database', 'hostname');
|
||||
$db_user = $a->getConfigValue('database', 'username');
|
||||
$db_pass = $a->getConfigValue('database', 'password');
|
||||
$db_data = $a->getConfigValue('database', 'database');
|
||||
$db_host = Config::getConfigValue('database', 'hostname');
|
||||
$db_user = Config::getConfigValue('database', 'username');
|
||||
$db_pass = Config::getConfigValue('database', 'password');
|
||||
$db_data = Config::getConfigValue('database', 'database');
|
||||
} else {
|
||||
// Creating config file
|
||||
$this->out("Creating config file...\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue