"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "system/src/Grav/Framework/Route/Route.php" between
grav-v1.6.25.zip and grav-v1.6.26.zip

About: Grav is a fast, simple, and flexible flat-file based CMS platform (using YAML and PHP). Contents are just simple markdown files in folders with optional extensions via API and hooks.

Route.php  (grav-v1.6.25):Route.php  (grav-v1.6.26)
skipping to change at line 347 skipping to change at line 347
* @return string * @return string
*/ */
protected function getUriPath($includeRoot = false) protected function getUriPath($includeRoot = false)
{ {
$parts = $includeRoot ? [$this->root] : ['']; $parts = $includeRoot ? [$this->root] : [''];
if ($this->language !== '') { if ($this->language !== '') {
$parts[] = $this->language; $parts[] = $this->language;
} }
if ($this->route !== '') { $parts[] = $this->extension ? $this->route . '.' . $this->extension : $t
$parts[] = $this->extension ? $this->route . '.' . $this->extension his->route;
: $this->route;
}
if ($this->gravParams) { if ($this->gravParams) {
$parts[] = RouteFactory::buildParams($this->gravParams); $parts[] = RouteFactory::buildParams($this->gravParams);
} }
return implode('/', $parts); return implode('/', $parts);
} }
/** /**
* @return string * @return string
 End of changes. 1 change blocks. 
4 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)