mirror of
https://github.com/unraid/webgui.git
synced 2026-05-02 15:59:35 -05:00
PHP8 support
This commit is contained in:
@@ -209,6 +209,7 @@ if (isset($_POST['rmTemplate'])) {
|
||||
## LOAD TEMPLATE ##
|
||||
#########################
|
||||
|
||||
$xmlType = $xmlTemplate = '';
|
||||
if (isset($_GET['xmlTemplate'])) {
|
||||
[$xmlType, $xmlTemplate] = my_explode(':', unscript(urldecode($_GET['xmlTemplate'])));
|
||||
if (is_file($xmlTemplate)) {
|
||||
|
||||
Reference in New Issue
Block a user