A basic CodeIgniter library for using the Twig template language
PHP
Pull request Compare This branch is 3 commits ahead of jamiepittock:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
system/application
.gitignore
README
create_symlinks.command

README

A basic CodeIgniter library for using the Twig template language

Usage:

	First, Create twig directory under system/cache; and
	give it write permission
	
	$ mkdir system/cache/twig
	$ chmod o+w system/cache/twig

	Then, Put in your controller,

	$this->load->library('twig');

	$data['title'] = "Testing Twig!!";

	$this->twig->display('view.html', $data);