Browse Source

append ending slash to base location

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

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

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

Loading…
Cancel
Save