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
c00c2dcb
Commit
c00c2dcb
authored
Feb 21, 2013
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed yiic webapp -> yiic app
parent
a5fe4a6a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
Application.php
framework/console/Application.php
+1
-1
AppController.php
framework/console/controllers/AppController.php
+3
-3
config.php
framework/console/webapp/config.php
+1
-1
No files found.
framework/console/Application.php
View file @
c00c2dcb
...
@@ -126,7 +126,7 @@ class Application extends \yii\base\Application
...
@@ -126,7 +126,7 @@ class Application extends \yii\base\Application
'message'
=>
'yii\console\controllers\MessageController'
,
'message'
=>
'yii\console\controllers\MessageController'
,
'help'
=>
'yii\console\controllers\HelpController'
,
'help'
=>
'yii\console\controllers\HelpController'
,
'migrate'
=>
'yii\console\controllers\MigrateController'
,
'migrate'
=>
'yii\console\controllers\MigrateController'
,
'
webapp'
=>
'yii\console\controllers\Weba
ppController'
,
'
app'
=>
'yii\console\controllers\A
ppController'
,
'cache'
=>
'yii\console\controllers\CacheController'
,
'cache'
=>
'yii\console\controllers\CacheController'
,
);
);
}
}
...
...
framework/console/controllers/
Weba
ppController.php
→
framework/console/controllers/
A
ppController.php
View file @
c00c2dcb
<?php
<?php
/**
/**
*
Weba
ppController class file.
*
A
ppController class file.
*
*
* @link http://www.yiiframework.com/
* @link http://www.yiiframework.com/
* @copyright Copyright © 2008 Yii Software LLC
* @copyright Copyright © 2008 Yii Software LLC
...
@@ -20,7 +20,7 @@ use yii\base\Exception;
...
@@ -20,7 +20,7 @@ use yii\base\Exception;
* @author Alexander Makarov <sam@rmcreative.ru>
* @author Alexander Makarov <sam@rmcreative.ru>
* @since 2.0
* @since 2.0
*/
*/
class
Weba
ppController
extends
Controller
class
A
ppController
extends
Controller
{
{
private
$_rootPath
;
private
$_rootPath
;
private
$_config
;
private
$_config
;
...
@@ -53,7 +53,7 @@ class WebappController extends Controller
...
@@ -53,7 +53,7 @@ class WebappController extends Controller
public
function
actionIndex
()
public
function
actionIndex
()
{
{
$this
->
forward
(
'help/index'
,
array
(
'-args'
=>
array
(
'
web
app/create'
)));
$this
->
forward
(
'help/index'
,
array
(
'-args'
=>
array
(
'app/create'
)));
}
}
/**
/**
...
...
framework/console/webapp/config.php
View file @
c00c2dcb
<?php
<?php
/** @var $controller \yii\console\controllers\
Weba
ppController */
/** @var $controller \yii\console\controllers\
A
ppController */
$controller
=
$this
;
$controller
=
$this
;
return
array
(
return
array
(
...
...
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