|
@@ -195,7 +195,7 @@ class Route {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
$this->_regex = ltrim($this->_regex, '\/');
|
|
$this->_regex = ltrim($this->_regex, '\/');
|
|
|
- $this->_regex = "/\/" . $this->_regex . "$/";
|
|
|
|
|
|
|
+ $this->_regex = "/^\/" . $this->_regex . "$/";
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function createIndexes() {
|
|
function createIndexes() {
|