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
de59556d
Commit
de59556d
authored
Oct 22, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjusted basic app to use the new yii extension installer.
parent
8fc48909
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
5 deletions
+2
-5
console.php
apps/basic/config/console.php
+1
-2
web.php
apps/basic/config/web.php
+1
-0
index-test.php
apps/basic/web/index-test.php
+0
-1
index.php
apps/basic/web/index.php
+0
-1
yii
apps/basic/yii
+0
-1
No files found.
apps/basic/config/console.php
View file @
de59556d
...
...
@@ -6,8 +6,7 @@ return [
'preload'
=>
[
'log'
],
'controllerPath'
=>
dirname
(
__DIR__
)
.
'/commands'
,
'controllerNamespace'
=>
'app\commands'
,
'modules'
=>
[
],
'extensions'
=>
require
(
__DIR__
.
'/../vendor/yii-extensions.php'
),
'components'
=>
[
'cache'
=>
[
'class'
=>
'yii\caching\FileCache'
,
...
...
apps/basic/config/web.php
View file @
de59556d
...
...
@@ -3,6 +3,7 @@ $params = require(__DIR__ . '/params.php');
$config
=
[
'id'
=>
'bootstrap'
,
'basePath'
=>
dirname
(
__DIR__
),
'extensions'
=>
require
(
__DIR__
.
'/../vendor/yii-extensions.php'
),
'components'
=>
[
'request'
=>
[
'enableCsrfValidation'
=>
true
,
...
...
apps/basic/web/index-test.php
View file @
de59556d
...
...
@@ -10,7 +10,6 @@ defined('YII_ENV') or define('YII_ENV', 'test');
require_once
(
__DIR__
.
'/../vendor/autoload.php'
);
require_once
(
__DIR__
.
'/../vendor/yiisoft/yii2/yii/Yii.php'
);
Yii
::
importNamespaces
(
require
(
__DIR__
.
'/../vendor/composer/autoload_namespaces.php'
));
$config
=
require
(
__DIR__
.
'/../config/web-test.php'
);
...
...
apps/basic/web/index.php
View file @
de59556d
...
...
@@ -6,7 +6,6 @@ defined('YII_ENV') or define('YII_ENV', 'dev');
require
(
__DIR__
.
'/../vendor/autoload.php'
);
require
(
__DIR__
.
'/../vendor/yiisoft/yii2/yii/Yii.php'
);
Yii
::
importNamespaces
(
require
(
__DIR__
.
'/../vendor/composer/autoload_namespaces.php'
));
$config
=
require
(
__DIR__
.
'/../config/web.php'
);
...
...
apps/basic/yii
View file @
de59556d
...
...
@@ -15,7 +15,6 @@ defined('STDIN') or define('STDIN', fopen('php://stdin', 'r'));
require
(
__DIR__
.
'/vendor/autoload.php'
);
require
(
__DIR__
.
'/vendor/yiisoft/yii2/yii/Yii.php'
);
Yii
::
importNamespaces
(
require
(
__DIR__
.
'/vendor/composer/autoload_namespaces.php'
));
$config
=
require
(
__DIR__
.
'/config/console.php'
);
...
...
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