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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
10553b6a
Commit
10553b6a
authored
Oct 22, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjusted the advanced app to use the new yii composer extension installer.
parent
9636b0fc
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
3 additions
and
4 deletions
+3
-4
main.php
apps/advanced/backend/config/main.php
+1
-0
main.php
apps/advanced/console/config/main.php
+1
-0
index.php
apps/advanced/environments/dev/frontend/web/index.php
+0
-1
yii
apps/advanced/environments/dev/yii
+0
-1
index.php
apps/advanced/environments/prod/frontend/web/index.php
+0
-1
yii
apps/advanced/environments/prod/yii
+0
-1
main.php
apps/advanced/frontend/config/main.php
+1
-0
No files found.
apps/advanced/backend/config/main.php
View file @
10553b6a
...
@@ -15,6 +15,7 @@ return [
...
@@ -15,6 +15,7 @@ return [
'preload'
=>
[
'log'
],
'preload'
=>
[
'log'
],
'controllerNamespace'
=>
'backend\controllers'
,
'controllerNamespace'
=>
'backend\controllers'
,
'modules'
=>
[],
'modules'
=>
[],
'extensions'
=>
require
(
__DIR__
.
'/../../vendor/yii-extensions.php'
),
'components'
=>
[
'components'
=>
[
'request'
=>
[
'request'
=>
[
'enableCsrfValidation'
=>
true
,
'enableCsrfValidation'
=>
true
,
...
...
apps/advanced/console/config/main.php
View file @
10553b6a
...
@@ -15,6 +15,7 @@ return [
...
@@ -15,6 +15,7 @@ return [
'controllerNamespace'
=>
'console\controllers'
,
'controllerNamespace'
=>
'console\controllers'
,
'modules'
=>
[
'modules'
=>
[
],
],
'extensions'
=>
require
(
__DIR__
.
'/../../vendor/yii-extensions.php'
),
'components'
=>
[
'components'
=>
[
'db'
=>
$params
[
'components.db'
],
'db'
=>
$params
[
'components.db'
],
'cache'
=>
$params
[
'components.cache'
],
'cache'
=>
$params
[
'components.cache'
],
...
...
apps/advanced/environments/dev/frontend/web/index.php
View file @
10553b6a
...
@@ -4,7 +4,6 @@ defined('YII_ENV') or define('YII_ENV', 'dev');
...
@@ -4,7 +4,6 @@ defined('YII_ENV') or define('YII_ENV', 'dev');
require
(
__DIR__
.
'/../../vendor/autoload.php'
);
require
(
__DIR__
.
'/../../vendor/autoload.php'
);
require
(
__DIR__
.
'/../../vendor/yiisoft/yii2/yii/Yii.php'
);
require
(
__DIR__
.
'/../../vendor/yiisoft/yii2/yii/Yii.php'
);
Yii
::
importNamespaces
(
require
(
__DIR__
.
'/../../vendor/composer/autoload_namespaces.php'
));
$config
=
yii\helpers\ArrayHelper
::
merge
(
$config
=
yii\helpers\ArrayHelper
::
merge
(
require
(
__DIR__
.
'/../config/main.php'
),
require
(
__DIR__
.
'/../config/main.php'
),
...
...
apps/advanced/environments/dev/yii
View file @
10553b6a
...
@@ -16,7 +16,6 @@ defined('STDIN') or define('STDIN', fopen('php://stdin', 'r'));
...
@@ -16,7 +16,6 @@ defined('STDIN') or define('STDIN', fopen('php://stdin', 'r'));
require
(
__DIR__
.
'/vendor/autoload.php'
);
require
(
__DIR__
.
'/vendor/autoload.php'
);
require
(
__DIR__
.
'/vendor/yiisoft/yii2/yii/Yii.php'
);
require
(
__DIR__
.
'/vendor/yiisoft/yii2/yii/Yii.php'
);
Yii
::
importNamespaces
(
require
(
__DIR__
.
'/vendor/composer/autoload_namespaces.php'
));
$config
=
yii\helpers\ArrayHelper
::
merge
(
$config
=
yii\helpers\ArrayHelper
::
merge
(
require
(
__DIR__
.
'/console/config/main.php'
),
require
(
__DIR__
.
'/console/config/main.php'
),
...
...
apps/advanced/environments/prod/frontend/web/index.php
View file @
10553b6a
...
@@ -4,7 +4,6 @@ defined('YII_ENV') or define('YII_ENV', 'prod');
...
@@ -4,7 +4,6 @@ defined('YII_ENV') or define('YII_ENV', 'prod');
require
(
__DIR__
.
'/../../vendor/autoload.php'
);
require
(
__DIR__
.
'/../../vendor/autoload.php'
);
require
(
__DIR__
.
'/../../vendor/yiisoft/yii2/yii/Yii.php'
);
require
(
__DIR__
.
'/../../vendor/yiisoft/yii2/yii/Yii.php'
);
Yii
::
importNamespaces
(
require
(
__DIR__
.
'/../../vendor/composer/autoload_namespaces.php'
));
$config
=
yii\helpers\ArrayHelper
::
merge
(
$config
=
yii\helpers\ArrayHelper
::
merge
(
require
(
__DIR__
.
'/../config/main.php'
),
require
(
__DIR__
.
'/../config/main.php'
),
...
...
apps/advanced/environments/prod/yii
View file @
10553b6a
...
@@ -16,7 +16,6 @@ defined('STDIN') or define('STDIN', fopen('php://stdin', 'r'));
...
@@ -16,7 +16,6 @@ defined('STDIN') or define('STDIN', fopen('php://stdin', 'r'));
require
(
__DIR__
.
'/vendor/autoload.php'
);
require
(
__DIR__
.
'/vendor/autoload.php'
);
require
(
__DIR__
.
'/vendor/yiisoft/yii2/yii/Yii.php'
);
require
(
__DIR__
.
'/vendor/yiisoft/yii2/yii/Yii.php'
);
Yii
::
importNamespaces
(
require
(
__DIR__
.
'/vendor/composer/autoload_namespaces.php'
));
$config
=
yii\helpers\ArrayHelper
::
merge
(
$config
=
yii\helpers\ArrayHelper
::
merge
(
require
(
__DIR__
.
'/console/config/main.php'
),
require
(
__DIR__
.
'/console/config/main.php'
),
...
...
apps/advanced/frontend/config/main.php
View file @
10553b6a
...
@@ -16,6 +16,7 @@ return [
...
@@ -16,6 +16,7 @@ return [
'modules'
=>
[
'modules'
=>
[
'gii'
=>
'yii\gii\Module'
'gii'
=>
'yii\gii\Module'
],
],
'extensions'
=>
require
(
__DIR__
.
'/../../vendor/yii-extensions.php'
),
'components'
=>
[
'components'
=>
[
'request'
=>
[
'request'
=>
[
'enableCsrfValidation'
=>
true
,
'enableCsrfValidation'
=>
true
,
...
...
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