Moved $params in basic application configs to the variable at the top so it can be reused for common component definitions if needed

This commit is contained in:
Alexander Makarov 2013-05-24 19:00:58 +04:00
parent cb76b82e09
commit c94008932b
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<?php
$params = require(__DIR__ . '/params.php');
return array(
'id' => 'bootstrap-console',
'basePath' => dirname(__DIR__),
@ -22,5 +22,5 @@ return array(
),
),
),
'params' => require(__DIR__ . '/params.php'),
'params' => $params,
);

View File

@ -1,5 +1,5 @@
<?php
$params = require(__DIR__ . '/params.php');
return array(
'id' => 'bootstrap',
'basePath' => dirname(__DIR__),
@ -34,5 +34,5 @@ return array(
),
),
),
'params' => require(__DIR__ . '/params.php'),
'params' => $params,
);