mirror of
https://github.com/unraid/webgui.git
synced 2026-04-23 10:38:50 -05:00
Fixed DockerClient to prevent Illegal string offset warnings in syslog (nitpick in new PHP version)
This commit is contained in:
@@ -114,7 +114,7 @@ class DockerTemplates {
|
||||
$Dest = ($Dest) ? $Dest : $dockerManPaths['templates-storage'];
|
||||
$Urls = ($Urls) ? $Urls : $dockerManPaths['template-repos'];
|
||||
$repotemplates = [];
|
||||
$output = "";
|
||||
$output = [];
|
||||
$tmp_dir = "/tmp/tmp-".mt_rand();
|
||||
if (!file_exists($dockerManPaths['template-repos'])) {
|
||||
@mkdir(dirname($dockerManPaths['template-repos']), 0777, true);
|
||||
|
||||
Reference in New Issue
Block a user