X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fshadowupdate.php;h=756f220ec823d67a4265738b2b624fb6baec6d34;hb=b01ab3e64c5a5a13f190116471acaeea10b3fd3a;hp=e003edea1701bd29eeb0995c3b68cd41038df6a7;hpb=22f32d9721809d2e655c7ab78d6a043b93de0af1;p=friendica.git diff --git a/include/shadowupdate.php b/include/shadowupdate.php index e003edea17..756f220ec8 100644 --- a/include/shadowupdate.php +++ b/include/shadowupdate.php @@ -1,24 +1,31 @@ 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(); +}