X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fcreate_shadowentry.php;h=005295c97898b261dc820b0f1ad36177c65440eb;hb=95bb8d38e87d8b09ef37404c4b23c08b6feb9da4;hp=f06a0dd1bfb20640e0a32ad54418251514ab2ca7;hpb=46ba1a46f5b7b84f6e94fdbdbe87c4f1f320c90f;p=friendica.git diff --git a/include/create_shadowentry.php b/include/create_shadowentry.php index f06a0dd1bf..005295c978 100644 --- a/include/create_shadowentry.php +++ b/include/create_shadowentry.php @@ -5,6 +5,9 @@ * * This script is started from mod/item.php to save some time when doing a post. */ + +use \Friendica\Core\Config; + require_once("boot.php"); require_once("include/threads.php"); @@ -21,8 +24,7 @@ function create_shadowentry_run($argv, $argc) { unset($db_host, $db_user, $db_pass, $db_data); } - load_config('config'); - load_config('system'); + Config::load(); if ($argc != 2) { return;