Commit 54eafd82 by Alexander Makarov

Moved $params in basic application configs to the variable at the top so it can…

Moved $params in basic application configs to the variable at the top so it can be reused for common component definitions if needed
parent 2c0a3ca6
<?php <?php
$params = require(__DIR__ . '/params.php');
return array( return array(
'id' => 'bootstrap-console', 'id' => 'bootstrap-console',
'basePath' => dirname(__DIR__), 'basePath' => dirname(__DIR__),
...@@ -22,5 +22,5 @@ return array( ...@@ -22,5 +22,5 @@ return array(
), ),
), ),
), ),
'params' => require(__DIR__ . '/params.php'), 'params' => $params,
); );
<?php <?php
$params = require(__DIR__ . '/params.php');
return array( return array(
'id' => 'bootstrap', 'id' => 'bootstrap',
'basePath' => dirname(__DIR__), 'basePath' => dirname(__DIR__),
...@@ -34,5 +34,5 @@ return array( ...@@ -34,5 +34,5 @@ return array(
), ),
), ),
), ),
'params' => require(__DIR__ . '/params.php'), 'params' => $params,
); );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment