blog vipa
mój dzień to 3 filiżanki kawy

blog vipa

TBS in Kohana 2.2+

Marzec 26th, 2008 . by vip

Due to changes in 2.2 (upgrade notes) some changes in TinyButStrong template integration files are needed. In MY_Controller.php You’ve manually create instance [php]$tbs = new Tbs;[/php] of TBS somewhere, and get rid of $this->tbs (just delete this-> string), cause config.php’s autoloading has been disabled.
Next, change Your MY_View.php to like this:
[php]

Leave a Reply