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
a202b9df
Commit
a202b9df
authored
Jun 17, 2016
by
Александр Кузнецов
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'task-on.com/faq' into 'master'
копирование страниц faq See merge request !30
parents
bf6d02b8
3d27c6d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
common/modules/faq/controllers/FaqController.php
common/modules/faq/controllers/FaqController.php
+2
-2
No files found.
common/modules/faq/controllers/FaqController.php
View file @
a202b9df
...
...
@@ -44,7 +44,7 @@ class FaqController extends BaseController
public
function
actionIndex
()
{
$this
->
meta_title
=
Settings
::
getValue
(
'meta-Title'
);
$this
->
meta_description
=
Settings
::
getValue
(
'meta-D
is
ription'
);
$this
->
meta_description
=
Settings
::
getValue
(
'meta-D
esc
ription'
);
$this
->
meta_keywords
=
Settings
::
getValue
(
'meta-Keywords'
);
$query
=
FaqRubric
::
find
()
->
where
([
'='
,
'section'
,
Faq
::
SECTION_FAQ
])
->
orderBy
(
'sort'
);
...
...
@@ -63,7 +63,7 @@ class FaqController extends BaseController
public
function
actionVideo
()
{
$this
->
meta_title
=
Settings
::
getValue
(
'meta-Title-video'
);
$this
->
meta_description
=
Settings
::
getValue
(
'meta-D
is
ription-video'
);
$this
->
meta_description
=
Settings
::
getValue
(
'meta-D
esc
ription-video'
);
$this
->
meta_keywords
=
Settings
::
getValue
(
'meta-Keywords-video'
);
if
(
!
isset
(
Faq
::
$section_title
[
Faq
::
SECTION_VIDEO
]))
...
...
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