correct trifles
This commit is contained in:
parent
1779c38218
commit
23346a78b5
6 changed files with 3 additions and 33 deletions
|
|
@ -299,7 +299,7 @@
|
|||
|
||||
// Determine prefix
|
||||
$ppos = array(strlen($uri));
|
||||
if(($p = strpos($uri, '/'.$request->getParam(1, \nre\configs\AppConfig::$defaults['intermediate']))) !== false) {
|
||||
if(($p = strpos($uri, '/'.$request->getParam(1, 'intermediate'))) !== false) {
|
||||
$ppos[] = $p;
|
||||
}
|
||||
$prefix = substr($uri, 0, min($ppos));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue