Commit 9ea93393 by Alexander Makarov

Fixed templates and fixtures paths for advanced application

parent 386b63b4
...@@ -24,8 +24,8 @@ $config = yii\helpers\ArrayHelper::merge( ...@@ -24,8 +24,8 @@ $config = yii\helpers\ArrayHelper::merge(
'controllerMap' => [ 'controllerMap' => [
'fixture' => [ 'fixture' => [
'class' => 'yii\faker\FixtureController', 'class' => 'yii\faker\FixtureController',
'fixtureDataPath' => dirname(__DIR__) . '_data/fixtures', 'fixtureDataPath' => dirname(__DIR__) . 'common/fixtures',
'templatePath' => dirname(__DIR__) . '_data/templates' 'templatePath' => dirname(__DIR__) . 'common/templates'
], ],
], ],
] ]
......
...@@ -24,8 +24,8 @@ $config = yii\helpers\ArrayHelper::merge( ...@@ -24,8 +24,8 @@ $config = yii\helpers\ArrayHelper::merge(
'controllerMap' => [ 'controllerMap' => [
'fixture' => [ 'fixture' => [
'class' => 'yii\faker\FixtureController', 'class' => 'yii\faker\FixtureController',
'fixtureDataPath' => dirname(__DIR__) . '_data/fixtures', 'fixtureDataPath' => dirname(__DIR__) . 'common/fixtures',
'templatePath' => dirname(__DIR__) . '_data/templates' 'templatePath' => dirname(__DIR__) . 'common/templates'
], ],
], ],
] ]
......
...@@ -24,8 +24,8 @@ $config = yii\helpers\ArrayHelper::merge( ...@@ -24,8 +24,8 @@ $config = yii\helpers\ArrayHelper::merge(
'controllerMap' => [ 'controllerMap' => [
'fixture' => [ 'fixture' => [
'class' => 'yii\faker\FixtureController', 'class' => 'yii\faker\FixtureController',
'fixtureDataPath' => dirname(__DIR__) . '_data/fixtures', 'fixtureDataPath' => dirname(__DIR__) . 'common/fixtures',
'templatePath' => dirname(__DIR__) . '_data/templates' 'templatePath' => dirname(__DIR__) . 'common/templates'
], ],
], ],
] ]
......
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