mirror of
https://github.com/friendica/friendica
synced 2025-04-26 11:50:11 +00:00
Ensure Config::load() in scripts
This commit is contained in:
parent
354bec58c0
commit
7e765199e8
3 changed files with 8 additions and 5 deletions
|
@ -19,6 +19,8 @@ BaseObject::setApp($a);
|
|||
dba::connect($db_host, $db_user, $db_pass, $db_data);
|
||||
unset($db_host, $db_user, $db_pass, $db_data);
|
||||
|
||||
Config::load();
|
||||
|
||||
if ($_SERVER["argc"] == 2) {
|
||||
switch ($_SERVER["argv"][1]) {
|
||||
case "dryrun":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue