X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fshadowupdate.php;h=5b0a1b94b0af3f9b530a36db860163d576f71667;hb=f94a10bf00de699a5f3d22ea74665053a5661175;hp=e003edea1701bd29eeb0995c3b68cd41038df6a7;hpb=22f32d9721809d2e655c7ab78d6a043b93de0af1;p=friendica.git diff --git a/include/shadowupdate.php b/include/shadowupdate.php index e003edea17..5b0a1b94b0 100644 --- a/include/shadowupdate.php +++ b/include/shadowupdate.php @@ -1,24 +1,30 @@ start_process(); + Config::load(); -load_config('config'); -load_config('system'); + update_shadow_copy(); +} -update_shadow_copy(); -killme(); -?> +if (array_search(__file__,get_included_files())===0){ + shadowupdate_run($_SERVER["argv"],$_SERVER["argc"]); + killme(); +}