Browse Source

Merge pull request #5952 from llfm/patch-1

[skip ci] Fixes to tutorial-performance-tuning
tags/2.0.1
Alexander Makarov 10 years ago
parent
commit
649b830a6b
  1. 4
      docs/guide/tutorial-performance-tuning.md

4
docs/guide/tutorial-performance-tuning.md

@ -51,7 +51,7 @@ scripts for every incoming request.
If the application is using Active Record, we should turn on the schema caching
to save the time of parsing database schema. This can be done by setting the
`Connection::enableSchemaCache` property to be `true` via application configuration
`protected/config/main.php`:
`config/web.php`:
```php
return [
@ -92,7 +92,7 @@ In order to learn how it can be achieved, refer to [assets](structure-assets.md)
By default PHP uses files to handle sessions. It is OK for development and
small projects but when it comes to handling concurrent requests it's better to
switch to another storage such as database. You can do so by configuring your
application via `protected/config/main.php`:
application via `config/web.php`:
```php
return [

Loading…
Cancel
Save