Refactored Config.

This commit is contained in:
Dmitry Khomutov 2018-03-04 15:56:02 +07:00
commit dd9f43b7dd
No known key found for this signature in database
GPG key ID: EC19426474B37AAC
37 changed files with 40 additions and 43 deletions

View file

@ -2,7 +2,7 @@
namespace PHPCensor\Controller;
use b8;
use PHPCensor\Config;
use PHPCensor\Helper\Lang;
use PHPCensor\Controller;
@ -22,7 +22,7 @@ class HomeController extends Controller
'left' => [],
'right' => [],
];
$widgets_config = b8\Config::getInstance()->get('php-censor.dashboard_widgets', [
$widgets_config = Config::getInstance()->get('php-censor.dashboard_widgets', [
'all_projects' => [
'side' => 'left',
],