add category index page fallback
This commit is contained in:
parent
08e4421c65
commit
2cf7339796
|
@ -74,6 +74,9 @@ class Url
|
||||||
} elseif (empty($this->slug) && ($filterName==TAG_URI_FILTER)) {
|
} elseif (empty($this->slug) && ($filterName==TAG_URI_FILTER)) {
|
||||||
$this->slug = TAG_URI_FILTER;
|
$this->slug = TAG_URI_FILTER;
|
||||||
$this->setWhereAmI('page');
|
$this->setWhereAmI('page');
|
||||||
|
} elseif (empty($this->slug) && ($filterName==CATEGORY_URI_FILTER)) {
|
||||||
|
$this->slug = CATEGORY_URI_FILTER;
|
||||||
|
$this->setWhereAmI('page');
|
||||||
} elseif ($filterName=='admin') {
|
} elseif ($filterName=='admin') {
|
||||||
$this->slug = ltrim($this->slug, '/');
|
$this->slug = ltrim($this->slug, '/');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue