aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/shared
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2024-05-16 11:05:47 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2024-05-16 11:05:47 +0000
commitefaeea07319c63be2f2c6a8bd076e4de8ac8f11d (patch)
treeb6c4f4f976cee1e156f8f9dd0fec39a9f09e6242 /app/controllers/shared
parentbb2278c43c4992c2cc0fc2d468ad98a395e13962 (diff)
relocate flexi, fixes #4101
Closes #4101 Merge request studip/studip!2977
Diffstat (limited to 'app/controllers/shared')
-rw-r--r--app/controllers/shared/download.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/shared/download.php b/app/controllers/shared/download.php
index 92d15d9..f94bc86 100644
--- a/app/controllers/shared/download.php
+++ b/app/controllers/shared/download.php
@@ -158,7 +158,7 @@ class Shared_DownloadController extends AuthenticatedController
}
$path = $GLOBALS['STUDIP_BASE_PATH'] . '/app/views/shared/modul/';
- $factory = new Flexi_TemplateFactory($path);
+ $factory = new Flexi\Factory($path);
$template = $factory->open('_modul');
$template->_ = function ($string) { return $this->_($string); };
@@ -166,7 +166,7 @@ class Shared_DownloadController extends AuthenticatedController
$template->display_language = $display_language;
$content = $template->render();
- $factory = new \Flexi_TemplateFactory($path);
+ $factory = new Flexi\Factory($path);
$type = 1;
if (count($modul->modulteile) == 1) {
$modulteil = $modul->modulteile->first();