Deprecate *_config() functions in core.

This commit is contained in:
Harald Eilertsen
2024-03-24 09:58:21 +00:00
committed by Mario
parent acc1834b0d
commit 0dc959d9fe
145 changed files with 1216 additions and 1004 deletions

View File

@@ -2,11 +2,13 @@
require_once('boot.php');
use Zotlabs\Lib\Config;
// Everything we need to boot standalone 'background' processes
function cli_startup() {
sys_boot();
App::set_baseurl(get_config('system','baseurl'));
App::set_baseurl(Config::Get('system','baseurl'));
}