mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-22 09:40:41 +08:00
Update runtime-bootstrapping.md
Minor syntax changes.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user