Browse Source

Small edit for consistency with frontend config.

Small edit for consistency with /apps/advanced/backend/config/main.php. Sorry, my OCD kicked in.
tags/2.0.0-beta
kumorig 11 years ago
parent
commit
7450fc1000
  1. 4
      apps/advanced/frontend/config/main.php

4
apps/advanced/frontend/config/main.php

@ -11,12 +11,12 @@ $params = array_merge(
return [
'id' => 'app-frontend',
'basePath' => dirname(__DIR__),
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
'vendorPath' => $rootDir . '/vendor',
'controllerNamespace' => 'frontend\controllers',
'modules' => [
'gii' => 'yii\gii\Module'
],
'extensions' => require(__DIR__ . '/../../vendor/yiisoft/extensions.php'),
'extensions' => require($rootDir . '/vendor/yiisoft/extensions.php'),
'components' => [
'request' => [
'enableCsrfValidation' => true,

Loading…
Cancel
Save