Permalink
Browse files

remove "page/" from URL

  • Loading branch information...
1 parent 252398b commit 53c296b19b6e708dfddd51378715c1aef515ff40 @ounziw committed Jan 26, 2011
Showing with 7 additions and 3 deletions.
  1. +5 −1 README
  2. +2 −2 libraries/breadcrumb.php
View
6 README
@@ -1,6 +1,6 @@
# Breadcrumb
-Version: 1.0
+Version: 1.1
Author: [Fumito Mizuno](http://twitter.com/ounziw)
@@ -29,3 +29,7 @@ The string for 'sep' is escaped.
When you do not set 'sep' parameter, it returns the breadcrumb, with » between each item.
Japanese description is available in http://mojomotor.php-web.net/page/breadcrumb
+
+## Change Log
+1.1 Modified for MM1.1
+1.0 New Release
View
@@ -35,7 +35,7 @@ class Breadcrumb
var $bread;
var $breaddata;
var $page_data = array();
- var $addon_version = '1.0';
+ var $addon_version = '1.1';
/**
* __construct
@@ -98,7 +98,7 @@ function create($template_data = array())
{
$page = $this->addon->page_model->get_page($val);
array_push($this->bread['contents'], array(
- "url" => site_url('page/' . $page->url_title),
+ "url" => site_url('' . $page->url_title),
"title" => $page->page_title
));
}

0 comments on commit 53c296b

Please sign in to comment.