Commit fedac864 by Van

Update TourinsoftExtension.php

parent 9dfd9222
......@@ -41,7 +41,7 @@ use Bolt\Extension\Appolo\Tourinsoft\Nut\CronCommand;
*/
class TourinsoftExtension extends SimpleExtension
{
use StorageTrait;
//use StorageTrait;
use DatabaseSchemaTrait;
/**
......@@ -104,9 +104,9 @@ class TourinsoftExtension extends SimpleExtension
'label' => [[LabelFilter::class, 'run'], ['is_safe' => ['html'] ]],
'hashtag' => [[HashtagToArray::class, 'run']],
'pipe' => [[PipeToArray::class, 'run']],
'mainPhoto' => [[new PhotoFilter($this->getConfig(), true), 'run']], ['is_safe' => ['html']],
'photos' => [[new PhotoFilter($this->getConfig(), false), 'run']], ['is_safe' => ['html']],
'files' => [[new FilesFilter($this->getConfig(), false), 'run']], ['is_safe' => ['html']],
'mainPhoto' => [[new PhotoFilter($this->getConfig(), true), 'run']],
'photos' => [[new PhotoFilter($this->getConfig(), false), 'run']],
'files' => [[new FilesFilter($this->getConfig(), false), 'run']],
'opening' => [[FullOpeningFilter::class, 'run'], ['is_safe' => ['html'] ]],
'fullDates' => [[FullDatesFilter::class, 'run'], ['is_safe' => ['html'] ]],
'validatedDate' => [[ValidatedDateFilter::class, 'run'], ['is_safe' => ['html']]],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment