mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
Deprecate *_config() functions in core.
This commit is contained in:
@@ -9,7 +9,9 @@ require_once('boot.php');
|
||||
require_once('include/cli_startup.php');
|
||||
|
||||
cli_startup();
|
||||
$build = get_config('system','db_version');
|
||||
use Zotlabs\Lib\Config;
|
||||
|
||||
$build = Config::Get('system','db_version');
|
||||
|
||||
echo "Old DB VERSION: " . $build . "\n";
|
||||
echo "New DB VERSION: " . DB_UPDATE_VERSION . "\n";
|
||||
|
||||
Reference in New Issue
Block a user