forked from Adleraci/adlerka.top
42 lines
1.3 KiB
PHP
42 lines
1.3 KiB
PHP
<?php
|
|
function loadRouterConfig(): array
|
|
{
|
|
|
|
return [
|
|
'inlining' => false,
|
|
'domain' => 'stylehub.adlerka',
|
|
'tld' => 'top',
|
|
'default_page' => 'index',
|
|
'default_site' => 'home',
|
|
'template_dir' => 'templates/',
|
|
'endpoint_dir' => 'endpoints/',
|
|
'page_dir' => 'pages/',
|
|
'protocol' => 'https://',
|
|
'site_prefix' => 'StyleHub',
|
|
'permissions' => [
|
|
'logged_out' => 1,
|
|
'logged_in_default' => 2,
|
|
'verified' => 3,
|
|
'trustworthy' => 4,
|
|
'moderator' => 5,
|
|
'user_admin' => 254,
|
|
'admin' => 255,
|
|
],
|
|
'page' => [
|
|
'default_secret' => 1,
|
|
'default_permissions' => 255,
|
|
|
|
],
|
|
'newsarticle' => [
|
|
'default_permissions' => 255,
|
|
],
|
|
'seo' => [
|
|
'author' => 'Guvernér',
|
|
'description' => 'Toto je stránka Malackého guvernéra.',
|
|
'keywords' => 'moda, oblecenie, mesto, guverner',
|
|
'generator' => 'TurboRoute',
|
|
'robots' => 'follow, index, max-snippet:-1, max-video-preview:-1, max-image-preview:large'
|
|
]
|
|
];
|
|
}
|