mirror of
https://github.com/unraid/webgui.git
synced 2026-05-05 01:09:25 -05:00
PHP8 support
This commit is contained in:
@@ -112,7 +112,7 @@ function escapeQuotes($text) {
|
||||
}
|
||||
function translate($key) {
|
||||
// replaces multi-line sections
|
||||
global $language,$netpool,$netpool6,$netport;
|
||||
global $language,$netpool,$netpool6,$netport,$nginx;
|
||||
if ($plug = isset($language[$key])) eval('?>'.Markdown($language[$key]));
|
||||
return !$plug;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user