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
ce4f37a1
Commit
ce4f37a1
authored
Aug 11, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc fix.
parent
71b8dfdb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
main.php
apps/basic/views/layouts/main.php
+0
-1
Controller.php
framework/yii/base/Controller.php
+1
-1
Module.php
framework/yii/debug/Module.php
+1
-1
No files found.
apps/basic/views/layouts/main.php
View file @
ce4f37a1
<?php
use
yii\bootstrap\Nav
;
use
yii\bootstrap\NavBar
;
use
yii\helpers\Html
;
use
yii\widgets\Menu
;
...
...
framework/yii/base/Controller.php
View file @
ce4f37a1
...
...
@@ -281,7 +281,7 @@ class Controller extends Component
* - an absolute path (e.g. "/main"): the layout name starts with a slash. The actual layout file will be
* looked for under the [[Application::layoutPath|layout path]] of the application;
* - a relative path (e.g. "main"): the actual layout layout file will be looked for under the
* [[Module::
viewPath|view
path]] of the context module.
* [[Module::
layoutPath|layout
path]] of the context module.
*
* If the layout name does not contain a file extension, it will use the default one `.php`.
*
...
...
framework/yii/debug/Module.php
View file @
ce4f37a1
...
...
@@ -69,7 +69,7 @@ class Module extends \yii\base\Module
$this
->
logTarget
=
null
;
if
(
$this
->
checkAccess
(
$action
))
{
return
true
;
return
parent
::
beforeAction
(
$action
)
;
}
elseif
(
$action
->
id
===
'toolbar'
)
{
return
false
;
}
else
{
...
...
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