Dismounted / KOtal

PHP Template Attribute Language (PHPTAL) module for Kohana 3.
Other
14 stars 2 forks source link

Allow KOtal to be globally disabled, but switched on for individual views. #8

Closed Drarok closed 12 years ago

Drarok commented 12 years ago

I've added a new key, 'enabled', to the config file, cached that value in the View class, and added documentation for it.

The reason being that I didn't find the controller-level exclusions fine-grained enough.

It's still on by default, but you can now switch off KOtal globally, and just "switch on" certain views as you convert them.

Dismounted commented 12 years ago

Thanks for the code! :-)