]> git.mxchange.org Git - friendica.git/blob - include/shadowupdate.php
Changed server detection.
[friendica.git] / include / shadowupdate.php
1 <?php
2
3 use \Friendica\Core\Config;
4
5 require_once("boot.php");
6 require_once("include/threads.php");
7
8 global $a, $db;
9
10 if(is_null($a))
11         $a = new App;
12
13 if(is_null($db)) {
14         @include(".htconfig.php");
15         require_once("include/dba.php");
16         $db = new dba($db_host, $db_user, $db_pass, $db_data);
17         unset($db_host, $db_user, $db_pass, $db_data);
18 }
19
20 Config::load();
21
22 update_shadow_copy();
23 killme();
24 ?>