-
Notifications
You must be signed in to change notification settings - Fork 40
Install
m3nt0r edited this page Jun 25, 2012
·
1 revision
There a two ways
-
Download the most current version as ZIP, unzip it and rename the extracted folder to
twig
. Put thetwig
folder inside yourplugins
folder and you are done. -
Just clone the repository directly into your app.
cd plugins | git clone git://github.com/m3nt0r/cakephp-twig-view.git twig
Inside your app_controller.php
add the following:
class AppController extends Controller {
public $view = 'Twig.Twig'; // use twig
}
That's all.