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

Loading…
Cancel
Save