Browse Source

append ending slash to base location

PHP-GTK3
yggverse 4 months ago
parent
commit
1a1924e166
  1. 23
      src/Entity/Browser/Container/Page/Navbar/Base.php

23
src/Entity/Browser/Container/Page/Navbar/Base.php

@ -23,16 +23,19 @@ class Base extends \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Navbar\
if ($address->getHost()) if ($address->getHost())
{ {
$this->navbar->request->setValue( $this->navbar->request->setValue(
$address->get( // build base rtrim(
true, $address->get(
true, true,
true, true,
true, true,
true, true,
false, true,
false, false,
false false,
) false
),
'/'
) . '/'
); );
$this->navbar->page->update(); $this->navbar->page->update();

Loading…
Cancel
Save