Browse Source

fix var name

main
ghost 10 months ago
parent
commit
d9b2e24a99
  1. 8
      src/server.php

8
src/server.php

@ -384,14 +384,14 @@ $server->setHandler(
if ($sections = $helper->getChildrenSectionLinksByUri($uri)) if ($sections = $helper->getChildrenSectionLinksByUri($uri))
{ {
// Append header // Append header
$lines[] = null; $menu[] = null;
$menu[] = sprintf( $menu[] = sprintf(
'### %s', '### %s',
$config->string->sections $config->string->sections
); );
// Append sections // Append sections
$lines[] = null; $menu[] = null;
foreach ($sections as $section) foreach ($sections as $section)
{ {
$menu[] = $section; $menu[] = $section;
@ -402,14 +402,14 @@ $server->setHandler(
if ($pages = $helper->getChildrenPageLinksByUri($uri)) if ($pages = $helper->getChildrenPageLinksByUri($uri))
{ {
// Append header // Append header
$lines[] = null; $menu[] = null;
$menu[] = sprintf( $menu[] = sprintf(
'### %s', '### %s',
$config->string->pages $config->string->pages
); );
// Append pages // Append pages
$lines[] = null; $menu[] = null;
foreach ($pages as $page) foreach ($pages as $page)
{ {
$menu[] = $page; $menu[] = $page;

Loading…
Cancel
Save