Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
b4c60c14
Commit
b4c60c14
authored
Jan 11, 2014
by
Alexander Kochetov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Yii 2 advanced app environments usage fix
parent
7dd0d97c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
9 deletions
+4
-9
main-local.php
apps/advanced/environments/dev/backend/config/main-local.php
+2
-3
main-local.php
.../advanced/environments/dev/frontend/config/main-local.php
+2
-3
main.php
apps/advanced/frontend/config/main.php
+0
-3
No files found.
apps/advanced/environments/dev/backend/config/main-local.php
View file @
b4c60c14
...
...
@@ -4,8 +4,7 @@ return [
//'debug',
],
'modules'
=>
[
// 'debug' => [
// 'class' => 'yii\debug\Module',
// ],
// 'debug' => 'yii\debug\Module',
// 'gii' => 'yii\gii\Module',
],
];
apps/advanced/environments/dev/frontend/config/main-local.php
View file @
b4c60c14
...
...
@@ -4,8 +4,7 @@ return [
//'debug',
],
'modules'
=>
[
// 'debug' => [
// 'class' => 'yii\debug\Module',
// ],
// 'debug' => 'yii\debug\Module',
// 'gii' => 'yii\gii\Module',
],
];
apps/advanced/frontend/config/main.php
View file @
b4c60c14
...
...
@@ -13,9 +13,6 @@ return [
'basePath'
=>
dirname
(
__DIR__
),
'vendorPath'
=>
$rootDir
.
'/vendor'
,
'controllerNamespace'
=>
'frontend\controllers'
,
'modules'
=>
[
'gii'
=>
'yii\gii\Module'
],
'extensions'
=>
require
(
$rootDir
.
'/vendor/yiisoft/extensions.php'
),
'components'
=>
[
'db'
=>
$params
[
'components.db'
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment