]> git.mxchange.org Git - friendica.git/blob - include/shadowupdate.php
Merge remote-tracking branch 'upstream/develop' into 1409-shadow-items
[friendica.git] / include / shadowupdate.php
1 <?php
2 require_once("boot.php");
3 require_once("include/threads.php");
4
5 global $a, $db;
6
7 if(is_null($a))
8         $a = new App;
9
10 if(is_null($db)) {
11         @include(".htconfig.php");
12         require_once("include/dba.php");
13         $db = new dba($db_host, $db_user, $db_pass, $db_data);
14         unset($db_host, $db_user, $db_pass, $db_data);
15 }
16
17 load_config('config');
18 load_config('system');
19
20 update_shadow_copy();
21 killme();
22 ?>