Fixes to CLI scripts

This commit is contained in:
Marcin Kurczewski 2013-11-18 00:16:47 +01:00
parent cc30829c63
commit 52ceb8d962
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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);