X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fdbupdate.php;h=28f1de340b91ca5fb0b8c62d9ab56ca0af87ec49;hb=26983bafff024adab0339b828ec21d83fc5d1007;hp=6ae1bf10e7a8e1df79017cbd2501da88b03bb147;hpb=b920ce732c2b5fdeae871ed72826d660b2dd484d;p=friendica.git diff --git a/include/dbupdate.php b/include/dbupdate.php index 6ae1bf10e7..28f1de340b 100644 --- a/include/dbupdate.php +++ b/include/dbupdate.php @@ -8,7 +8,7 @@ function dbupdate_run(&$argv, &$argc) { if(is_null($a)){ $a = new App; } - + if(is_null($db)) { @include(".htconfig.php"); require_once("include/dba.php"); @@ -19,11 +19,10 @@ function dbupdate_run(&$argv, &$argc) { load_config('config'); load_config('system'); - check_config($a); + update_db($a); } if (array_search(__file__,get_included_files())===0){ - dbupdate_run($argv,$argc); + dbupdate_run($_SERVER["argv"],$_SERVER["argc"]); killme(); } -