stylehub/lib/config.php

42 lines
1.3 KiB
PHP
Raw Normal View History

2024-01-16 20:55:27 +01:00
<?php
2024-02-06 16:24:57 +01:00
function loadRouterConfig(): array
{
2024-01-16 20:55:27 +01:00
2024-02-06 16:24:57 +01:00
return [
'inlining' => false,
2024-03-21 09:49:02 +01:00
'domain' => 'stylehub.adlerka',
2024-02-06 16:24:57 +01:00
'tld' => 'top',
'default_page' => 'index',
'default_site' => 'home',
'template_dir' => 'templates/',
'endpoint_dir' => 'endpoints/',
'page_dir' => 'pages/',
'protocol' => 'https://',
2024-03-21 09:49:02 +01:00
'site_prefix' => 'StyleHub',
2024-02-06 16:24:57 +01:00
'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,
2024-02-15 10:09:01 +01:00
],
2024-02-24 09:01:13 +01:00
'newsarticle' => [
'default_permissions' => 255,
],
2024-02-15 10:09:01 +01:00
'seo' => [
2024-03-21 09:49:02 +01:00
'author' => 'Guvernér',
'description' => 'Toto je stránka Malackého guvernéra.',
'keywords' => 'moda, oblecenie, mesto, guverner',
2024-02-15 10:09:01 +01:00
'generator' => 'TurboRoute',
'robots' => 'follow, index, max-snippet:-1, max-video-preview:-1, max-image-preview:large'
2024-02-06 16:24:57 +01:00
]
];
2024-01-16 20:55:27 +01:00
}