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
8ca516b2
Commit
8ca516b2
authored
Nov 20, 2014
by
Christopher Vrooman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update runtime-bootstrapping.md
Minor syntax changes.
parent
437da2a2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
runtime-bootstrapping.md
docs/guide/runtime-bootstrapping.md
+2
-2
No files found.
docs/guide/runtime-bootstrapping.md
View file @
8ca516b2
...
...
@@ -10,7 +10,7 @@ registered. This includes the Composer autoloader through its `autoload.php` fil
autoloader through its
`Yii`
class file. The entry script then loads the application
[
configuration
](
concept-configurations.md
)
and creates an
[
application
](
structure-applications.md
)
instance.
In the constructor of the application, the following bootstrapping work
are
done:
In the constructor of the application, the following bootstrapping work
is
done:
1.
[
[yii\base\Application::preInit()|preInit()
]
] is called, which configures some high priority
application properties, such as
[
[yii\base\Application::basePath|basePath
]
].
...
...
@@ -34,7 +34,7 @@ needs to register additional URL parsing rules, it should be listed in the
[
bootstrap property
](
structure-applications.md#bootstrap
)
so that the new URL rules can take effect
before they are used to resolve requests.
In production mode, enable bytecode cache, such as
[
PHP OPcache
]
or
[
APC
]
, to minimize the time needed for including
In production mode, enable
a
bytecode cache, such as
[
PHP OPcache
]
or
[
APC
]
, to minimize the time needed for including
and parsing PHP files.
[
PHP OPcache
]:
http://php.net/manual/en/intro.opcache.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