Fixes to CLI scripts
This commit is contained in:
parent
cc30829c63
commit
52ceb8d962
2 changed files with 2 additions and 2 deletions
2
init.php
2
init.php
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
require_once 'src/core.php';
|
||||
$config = configFactory();
|
||||
$config = \Chibi\Registry::getConfig();
|
||||
$fontsPath = $config->main->mediaPath . DS . 'fonts' . DS;
|
||||
$libPath = $config->main->mediaPath . DS . 'lib' . DS;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
require_once 'src/core.php';
|
||||
$config = configFactory();
|
||||
$config = \Chibi\Registry::getConfig();
|
||||
|
||||
$dbVersion = Model_Property::get('db-version');
|
||||
printf('DB version = %d' . PHP_EOL, $dbVersion);
|
||||
|
|
Loading…
Reference in a new issue