diff --git a/docs/guide/runtime-bootstrapping.md b/docs/guide/runtime-bootstrapping.md index 58e150e..4373911 100644 --- a/docs/guide/runtime-bootstrapping.md +++ b/docs/guide/runtime-bootstrapping.md @@ -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