Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskonsite-архив-перенесен
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Korolev
taskonsite-архив-перенесен
Commits
bf24d329
Commit
bf24d329
authored
Apr 03, 2019
by
Олег Гиммельшпах
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3108 - Важно - удаление лишних разделов из sitemao.xml
parent
eadbb7e9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
common/modules/documentation/models/DocContent.php
common/modules/documentation/models/DocContent.php
+1
-1
frontend/config/main.php
frontend/config/main.php
+2
-1
No files found.
common/modules/documentation/models/DocContent.php
View file @
bf24d329
...
@@ -57,7 +57,7 @@ class DocContent extends \yii\db\ActiveRecord
...
@@ -57,7 +57,7 @@ class DocContent extends \yii\db\ActiveRecord
},
},
'dataClosure'
=>
function
(
$model
)
{
'dataClosure'
=>
function
(
$model
)
{
return
[
return
[
'loc'
=>
Url
::
to
(
$model
->
url
)
,
'loc'
=>
$model
->
url
,
'lastmod'
=>
date
(
'c'
,
$model
->
updated_at
),
'lastmod'
=>
date
(
'c'
,
$model
->
updated_at
),
'changefreq'
=>
SitemapBehavior
::
CHANGEFREQ_DAILY
,
'changefreq'
=>
SitemapBehavior
::
CHANGEFREQ_DAILY
,
'priority'
=>
$model
->
priority
'priority'
=>
$model
->
priority
...
...
frontend/config/main.php
View file @
bf24d329
...
@@ -32,7 +32,8 @@ return [
...
@@ -32,7 +32,8 @@ return [
'models'
=>
[
'models'
=>
[
'common\modules\content\models\CoContent'
,
'common\modules\content\models\CoContent'
,
'common\modules\blog\models\Post'
,
'common\modules\blog\models\Post'
,
'common\modules\faq\models\Faq'
'common\modules\faq\models\Faq'
,
'common\modules\documentation\models\DocContent'
,
],
],
'urls'
=>
[
'urls'
=>
[
[
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment