aboutsummaryrefslogtreecommitdiff
path: root/public/install.php
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 /public/install.php
parentbb2278c43c4992c2cc0fc2d468ad98a395e13962 (diff)
relocate flexi, fixes #4101
Closes #4101 Merge request studip/studip!2977
Diffstat (limited to 'public/install.php')
-rw-r--r--public/install.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/install.php b/public/install.php
index 6d71969..24725c3 100644
--- a/public/install.php
+++ b/public/install.php
@@ -41,7 +41,7 @@ if (!function_exists('_')) {
require_once 'lib/language.inc.php';
foreach (explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']) as $lang) {
- list($lang, ) = explode(';', $lang);
+ [$lang, ] = explode(';', $lang);
$lang = substr($lang, 0, 2);
if (!in_array($lang, ['de', 'en'])) {
@@ -53,7 +53,7 @@ if (!function_exists('_')) {
}
}
-$GLOBALS['template_factory'] = new Flexi_TemplateFactory('../templates/');
+$GLOBALS['template_factory'] = new Flexi\Factory('../templates/');
# get plugin class from request
$dispatch_to = ltrim(Request::pathInfo(), '/');