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
bda225f2
Commit
bda225f2
authored
Jul 02, 2014
by
东方孤思子(Paris·QianSen)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improved description to deliver the original concepts better. [skip ci]
parent
939f8ef7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
concept-aliases.md
docs/guide-zh-CN/concept-aliases.md
+2
-2
No files found.
docs/guide-zh-CN/concept-aliases.md
View file @
bda225f2
路径
别名(Aliases)
别名(Aliases)
=======
=======
路径别名(Path Alias
简称别名)用作代表文件路径和 URL,主要为了避免在代码中硬编码一些绝对路径和
别名(译者注:指路径/URL 别名,
简称别名)用作代表文件路径和 URL,主要为了避免在代码中硬编码一些绝对路径和
URL。一个别名必须以
`@`
字符开头,以区别于传统的文件/目录路径或 URL。举栗,别名
`@yii`
URL。一个别名必须以
`@`
字符开头,以区别于传统的文件/目录路径或 URL。举栗,别名
`@yii`
指的是 Yii 框架本身的安装目录,而
`@web`
表示的是当前运行应用的根 URL(base URL)。
指的是 Yii 框架本身的安装目录,而
`@web`
表示的是当前运行应用的根 URL(base URL)。
...
...
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