From 8a226876137af9c716802d57dc5b1de3689a4086 Mon Sep 17 00:00:00 2001 From: "E. S." Date: Wed, 6 Nov 2024 02:09:41 +0300 Subject: [PATCH] open wiki for everyone --- skin/base.phps | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/skin/base.phps b/skin/base.phps index 48dfba0..c32a525 100644 --- a/skin/base.phps +++ b/skin/base.phps @@ -225,8 +225,7 @@ $icons = svg(); $items = []; $items[] = ['url' => '/articles/'.($articles_lang && $articles_lang != 'en' ? '?lang='.$articles_lang : ''), 'label' => 'articles', 'selected' => $section === 'articles']; $items[] = ['url' => '/files/', 'label' => 'files', 'selected' => $section === 'files']; -if (is_admin()) - $items[] = ['url' => '/'.$config['wiki_root'].'/', 'label' => 'wiki', 'selected' => $section === $config['wiki_root']]; +$items[] = ['url' => '/'.$config['wiki_root'].'/', 'label' => 'wiki', 'selected' => $section === $config['wiki_root']]; $items[] = ['url' => '/info/', 'label' => 'about', 'selected' => $section === 'about']; if (is_admin()) $items[] = ['url' => '/admin/', 'label' => $icons->settings_28(in_place: true), 'type' => 'settings', 'selected' => $section === 'admin'];