4 use Friendica\Core\Config;
6 require_once("boot.php");
7 require_once("include/threads.php");
9 function shadowupdate_run(&$argv, &$argc){
13 $a = new App(dirname(__DIR__));
16 @include(".htconfig.php");
17 require_once("include/dba.php");
18 dba::connect($db_host, $db_user, $db_pass, $db_data);
19 unset($db_host, $db_user, $db_pass, $db_data);
26 if (array_search(__file__,get_included_files())===0){
27 shadowupdate_run($_SERVER["argv"],$_SERVER["argc"]);