php - Kohana: Stylesheets + Routing = Not Working
This is my Template Controller file (well the only lines dealing with stylesheets)
$this->template->styles = array('application/themes/1/style/style.php' => 'all');
(not sure what the "all" does but I got this from a tutorial and since it links to the correct stylesheet, I know there isn't any issue with it). The issue is most certainly from the routing.
Routing in Boostrap (all of the variables are previously defined and work with other pages)
Route::set( 'custom', '(<controller>(/<action>(/<param1>)(/<param2>(/<param3>(/<param4>(/<param5>(/<param6>)))))))' )->defaults(array( 'controller' => $controller, 'action' => $action, 'param1' => $param1, 'param2' => $param2, 'param3' => $param3, 'param4' => $param4, 'param5' => $param5, 'param6' => $param6, ));
Also, I'm sure this comes into play...I have my style located in my application folder instead of "media" or "assets" in the document root. Note that even when I did move my files to the document root, they were still unable to be accessed.
Is there a way I can match the url for the word "style" and if there is a match, DO NOT look for a route? This perhaps might have to be done through modrewrite in htaccess, I'm not sure.