translate some left metadata

This commit is contained in:
coderkun 2015-09-12 20:55:43 +02:00
parent a95a948841
commit 88f94709d1

View file

@ -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;
}