Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
paulredmond committed Jul 22, 2012
1 parent 435cb8a commit 8d56a4d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Expand Up @@ -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:

Expand All @@ -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
Expand Down

0 comments on commit 8d56a4d

Please sign in to comment.