translate some left metadata
This commit is contained in:
parent
a95a948841
commit
88f94709d1
1 changed files with 4 additions and 4 deletions
|
@ -259,21 +259,21 @@
|
|||
*/
|
||||
private function detectRequest()
|
||||
{
|
||||
// URL ermitteln
|
||||
// Get URL
|
||||
$url = isset($_GET) && array_key_exists('url', $_GET) ? $_GET['url'] : '';
|
||||
$url = trim($url, '/');
|
||||
|
||||
// Routes anwenden
|
||||
// Apply routes
|
||||
$url = $this->applyRoutes($url, $this->routes);
|
||||
|
||||
// URL splitten
|
||||
// Split URL
|
||||
$params = explode('/', $url);
|
||||
if(empty($params[0])) {
|
||||
$params = array();
|
||||
}
|
||||
|
||||
|
||||
// Parameter speichern
|
||||
// Save parameters
|
||||
$this->params = $params;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue