Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update README.md

  • Loading branch information...
commit 8d56a4d422ab886e39fa40112f0a28def0a17d5f 1 parent 435cb8a
@paulredmond authored
Showing with 8 additions and 8 deletions.
  1. +8 −8 README.md
View
16 README.md
@@ -37,14 +37,7 @@ Boostrap the plugin in ```app/Config/bootstrap.php```:
CakePlugin::load('Twig', array('bootstrap' => true));
```
-**You must bootstrap this plugin.**
-
-Twig caches templates, therefore, you need to add this folder and give apache write permissions for this path:
-
-```bash
-cd path/to/app
-mkdir -p tmp/twig/cache
-```
+**Note:** _You must bootstrap this plugin._
Configure the application ```Controller::$view``` property:
@@ -56,6 +49,13 @@ Configure the application ```Controller::$view``` property:
public $viewClass = 'Twig.Twig';
```
+Twig caches templates, therefore, you need to add this folder and give apache write permissions for this path:
+
+```bash
+cd path/to/app
+mkdir -p tmp/twig/cache
+```
+
Additionally, you can configure the path in ```app/Config/core.php``` if you'd like:
```php
Please sign in to comment.
Something went wrong with that request. Please try again.