Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A basic CodeIgniter library for using the Twig template language
PHP
branch: master

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);
Something went wrong with that request. Please try again.