Make root '/' the default request

pull/11/head
Mike Cao 14 years ago
parent 509b832377
commit dcca6551c5

@ -51,7 +51,12 @@ class Request {
$this->url = substr($this->url, strlen($this->base));
}
$this->query = self::parseQuery($this->url);
if (empty($this->url)) {
$this->url = '/';
}
else {
$this->query = self::parseQuery($this->url);
}
}
/**

Loading…
Cancel
Save