芝麻web文件管理V1.00
编辑当前文件:/home/provyohx/public_html/components__c0c73d1/com_sppagebuilder/views/dynamic/view.html.php
item = $this->get('Item'); $this->canEdit = false; $app = Factory::getApplication(); $input = $app->input; // If a page is unpublished/trashed and a user tries to preview it. if (is_string($this->item)) { $collectionItemId = $input->get('collection_item_id'); // if the collection_item_id param exists in the url but is empty, display the no data layout if (isset($collectionItemId)) { if (empty($collectionItemId) || (is_array($collectionItemId) && empty($collectionItemId[0]))) { $this->setLayout('nodata'); return parent::display($tpl); } } throw new Exception($this->item, 404); } $this->item = ApplicationHelper::preparePageData($this->item); PageSeoSettings::make($this->item)->run(); parent::display($tpl); } }