4 use Friendica\Core\Config;
6 require_once('boot.php');
8 // Everything we need to boot standalone 'background' processes
10 function cli_startup() {
15 $a = new App(dirname(__DIR__));
19 @include(".htconfig.php");
20 require_once("dba.php");
21 $db = new dba($db_host, $db_user, $db_pass, $db_data);
22 unset($db_host, $db_user, $db_pass, $db_data);
25 require_once('include/session.php');
29 $a->set_baseurl(get_config('system','url'));