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
bca3e95c
Commit
bca3e95c
authored
Nov 05, 2013
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reverted commit about aliases in debug and gii module
not needed when installed via composer and application config loads composer extensions correctly
parent
f6ba1f00
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
Module.php
extensions/debug/Module.php
+0
-1
Module.php
extensions/gii/Module.php
+0
-1
No files found.
extensions/debug/Module.php
View file @
bca3e95c
...
@@ -53,7 +53,6 @@ class Module extends \yii\base\Module
...
@@ -53,7 +53,6 @@ class Module extends \yii\base\Module
public
function
init
()
public
function
init
()
{
{
Yii
::
setAlias
(
'@yii/debug'
,
__DIR__
);
parent
::
init
();
parent
::
init
();
$this
->
dataPath
=
Yii
::
getAlias
(
$this
->
dataPath
);
$this
->
dataPath
=
Yii
::
getAlias
(
$this
->
dataPath
);
$this
->
logTarget
=
Yii
::
$app
->
getLog
()
->
targets
[
'debug'
]
=
new
LogTarget
(
$this
);
$this
->
logTarget
=
Yii
::
$app
->
getLog
()
->
targets
[
'debug'
]
=
new
LogTarget
(
$this
);
...
...
extensions/gii/Module.php
View file @
bca3e95c
...
@@ -96,7 +96,6 @@ class Module extends \yii\base\Module
...
@@ -96,7 +96,6 @@ class Module extends \yii\base\Module
*/
*/
public
function
init
()
public
function
init
()
{
{
Yii
::
setAlias
(
'@yii/gii'
,
__DIR__
);
parent
::
init
();
parent
::
init
();
foreach
(
array_merge
(
$this
->
coreGenerators
(),
$this
->
generators
)
as
$id
=>
$config
)
{
foreach
(
array_merge
(
$this
->
coreGenerators
(),
$this
->
generators
)
as
$id
=>
$config
)
{
$this
->
generators
[
$id
]
=
Yii
::
createObject
(
$config
);
$this
->
generators
[
$id
]
=
Yii
::
createObject
(
$config
);
...
...
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