Updated to work with KH 3.1
This commit is contained in:
@@ -49,7 +49,7 @@ class lnApp_Breadcrumb extends HTMLRender {
|
||||
protected function render() {
|
||||
$output = HTML::anchor('/',_('Home'));
|
||||
|
||||
$data = empty(static::$_data['path']) ? explode('/',Request::instance()->uri) : static::$_data['path'];
|
||||
$data = empty(static::$_data['path']) ? explode('/',preg_replace('/^\//','',Request::detect_uri())) : static::$_data['path'];
|
||||
|
||||
foreach ($data as $k => $v) {
|
||||
$output .= static::$_spacer;
|
||||
|
@@ -11,7 +11,7 @@
|
||||
* @copyright (c) 2010 Deon George
|
||||
* @license http://dev.leenooks.net/license.html
|
||||
*/
|
||||
abstract class lnApp_Config extends Kohana {
|
||||
abstract class lnApp_Config extends Kohana_Config {
|
||||
/**
|
||||
* Return our site name
|
||||
*/
|
||||
|
Reference in New Issue
Block a user