瀏覽代碼

twig config with applicationDefinition

develop
Fab 2 年之前
父節點
當前提交
3ffa600da3
共有 2 個檔案被更改,包括 14 行新增13 行删除
  1. +1
    -1
      Controller/ControllerTrait.php
  2. +13
    -12
      Definition/ApplicationDefinition.php

+ 1
- 1
Controller/ControllerTrait.php 查看文件

@@ -275,4 +275,4 @@ trait ControllerTrait
set_time_limit(0);
}

}
}

+ 13
- 12
Definition/ApplicationDefinition.php 查看文件

@@ -20,25 +20,26 @@ class ApplicationDefinition
public static function getContainerList(): array
{
return [
FileContainer::class,
NewsletterContainer::class,
ReminderContainer::class,
NewsContainer::class,
PageContainer::class,
SiteContainer::class,
TicketContainer::class,
TicketMessageContainer::class,
GroupUserContainer::class,
UserContainer::class,
SiteSettingContainer::class
FileContainer::class,
NewsletterContainer::class,
ReminderContainer::class,
NewsContainer::class,
PageContainer::class,
SiteContainer::class,
TicketContainer::class,
TicketMessageContainer::class,
GroupUserContainer::class,
UserContainer::class,
SiteSettingContainer::class
];
}

public static function getSubscribedContainerServices(): array
{

$array = [];

foreach (self::$containers as $container) {
foreach (self::getContainerList() as $container) {
$array[$container] = $container;
}


Loading…
取消
儲存