updated readme.md

improved rtrim() "/" on BASE Route
This commit is contained in:
Exodus4D
2016-01-11 21:51:49 +01:00
parent 577605940e
commit cac71716fb
3 changed files with 4 additions and 4 deletions

View File

@@ -145,7 +145,7 @@ class Controller {
isset($params['reroute']) &&
(bool)$params['reroute']
){
$return->reroute = self::getEnvironmentData('URL') . $f3->alias('landing');
$return->reroute = rtrim(self::getEnvironmentData('URL'), '/') . $f3->alias('landing');
}else{
// no reroute -> errors can be shown
$return->error[] = $this->getUserLoggedOffError();