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:
parent
cb76b82e09
commit
c94008932b
@ -1,5 +1,5 @@
|
|||||||
<?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(
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
'params' => require(__DIR__ . '/params.php'),
|
'params' => $params,
|
||||||
);
|
);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?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(
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
'params' => require(__DIR__ . '/params.php'),
|
'params' => $params,
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user