This repository has been archived by the owner on Jan 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.php
65 lines (53 loc) · 1.43 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
use Pagekit\Application;
return [
'name' => 'spqr/sitemap',
'type' => 'extension',
'main' => function (Application $app) {
},
'autoload' => [
'Spqr\\Sitemap\\' => 'src',
],
'nodes' => [],
'routes' => [
'/sitemap' => [
'name' => '@sitemap',
'controller' => [
'Spqr\\Sitemap\\Controller\\SitemapController',
],
],
],
'menu' => [
'sitemap' => [
'label' => 'Sitemap',
'url' => '@sitemap',
'active' => '@sitemap(/*)?',
'icon' => 'spqr/sitemap:icon.svg',
'access' => 'sitemap: manage settings',
],
'sitemap: settings' => [
'parent' => 'sitemap',
'label' => 'Settings',
'url' => '@sitemap/settings',
'access' => 'sitemap: manage settings',
],
],
'permissions' => [
'sitemap: manage settings' => [
'title' => 'Manage settings',
],
],
'settings' => '@sitemap/settings',
'resources' => [
'spqr/sitemap:' => '',
],
'config' => [
'frequency' => 'weekly',
'filename' => 'sitemap.xml',
'verifyssl' => true,
'allowredirects' => true,
'debug' => false,
'excluded' => [],
],
'events' => [],
];