use TAG_URI_FILTER for tag index
This commit is contained in:
parent
36716c2d3b
commit
08e4421c65
|
@ -71,8 +71,8 @@ class Url
|
||||||
$this->setWhereAmI('home');
|
$this->setWhereAmI('home');
|
||||||
} elseif (!empty($this->slug) && ($filterURI=='/')) {
|
} elseif (!empty($this->slug) && ($filterURI=='/')) {
|
||||||
$this->setWhereAmI('page');
|
$this->setWhereAmI('page');
|
||||||
} elseif (empty($this->slug) && ($filterName=='tag')) {
|
} elseif (empty($this->slug) && ($filterName==TAG_URI_FILTER)) {
|
||||||
$this->slug = 'tag';
|
$this->slug = TAG_URI_FILTER;
|
||||||
$this->setWhereAmI('page');
|
$this->setWhereAmI('page');
|
||||||
} elseif ($filterName=='admin') {
|
} elseif ($filterName=='admin') {
|
||||||
$this->slug = ltrim($this->slug, '/');
|
$this->slug = ltrim($this->slug, '/');
|
||||||
|
|
Loading…
Reference in New Issue