Browse Source

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

tags/2.0.0-beta
Alexander Makarov 12 years ago
parent
commit
54eafd8294
  1. 4
      apps/basic/config/console.php
  2. 4
      apps/basic/config/main.php

4
apps/basic/config/console.php

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

4
apps/basic/config/main.php

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

Loading…
Cancel
Save