KO3: How to deal with stylesheets and scriptfiles
- by Svish
I'm using Kohana 3 and it's template controller. My main site template controller currently looks something like this:
<?php defined('SYSPATH') or die('No direct script access.');
abstract class Controller_SiteTemplate extends Controller_Template
{
public function before()
{
parent::before();
// Initialize default…