From 466f924a55930152c8ade1816d7060944e610cc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Tietb=C3=B6hl?= Date: Thu, 6 Nov 2014 15:10:16 -0200 Subject: [PATCH] Fixes to tutorial-performance-tuning --- docs/guide/tutorial-performance-tuning.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/tutorial-performance-tuning.md b/docs/guide/tutorial-performance-tuning.md index cd38b77..3af88e7 100644 --- a/docs/guide/tutorial-performance-tuning.md +++ b/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 [