can('wiki','read')){ require_once(__DIR__.SLASH.'page.login.php'); exit(); } require_once(__DIR__.SLASH.'WikiCategory.class.php'); require_once(__DIR__.SLASH.'WikiPage.class.php'); WikiCategory::synchronize(); $myUser->loadPreferences(); $menu = array( 'home' => array( 'label' => 'Accueil', 'icon' => 'fas fa-fw fa-home', 'css' => 'wiki_home_item', 'onclick' => 'wiki_page_home()' ), 'search' => array( 'label' => 'Recherche', 'icon' => 'fas fa-fw fa-search', 'css' => 'wiki_search_item', 'onclick'=> 'wiki_search()' ) ); ?>