Просмотр исходного кода

Ticket #4971 - Build-in API support: Pass cover setting to API

romanlesnikov 1 год назад
Родитель
Сommit
c8f733f491
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      template/scripts/BxBasePage.php

+ 1 - 0
template/scripts/BxBasePage.php

@@ -538,6 +538,7 @@ class BxBasePage extends BxDolPage
             'type' => $this->getType (),
             'type' => $this->getType (),
             'layout' => str_replace('.html', '', $this->_aObject['template']),
             'layout' => str_replace('.html', '', $this->_aObject['template']),
             'cover_block' => '',
             'cover_block' => '',
+            'cover' => $this->_aObject['cover'],
             'menu_top' => '',
             'menu_top' => '',
             'menu' => '',
             'menu' => '',
             'menu_bottom' => '',
             'menu_bottom' => '',