Commit 8ca516b2 by Christopher Vrooman

Update runtime-bootstrapping.md

Minor syntax changes.
parent 437da2a2
...@@ -10,7 +10,7 @@ registered. This includes the Composer autoloader through its `autoload.php` fil ...@@ -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 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. [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 1. [[yii\base\Application::preInit()|preInit()]] is called, which configures some high priority
application properties, such as [[yii\base\Application::basePath|basePath]]. 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 ...@@ -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 [bootstrap property](structure-applications.md#bootstrap) so that the new URL rules can take effect
before they are used to resolve requests. 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. and parsing PHP files.
[PHP OPcache]: http://php.net/manual/en/intro.opcache.php [PHP OPcache]: http://php.net/manual/en/intro.opcache.php
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment