mirror of
https://github.com/unraid/webgui.git
synced 2026-04-23 18:48:49 -05:00
Retain custom case image across reboot.
This commit is contained in:
@@ -33,7 +33,6 @@ case 'file':
|
||||
$name = 'case-model.png';
|
||||
file_put_contents("$boot/$file",$name);
|
||||
file_put_contents("$boot/$name",base64_decode(str_replace('data:image/png;base64,','',$_POST['data'])));
|
||||
symlink("$boot/$name","$docroot/webGui/images/$name");
|
||||
exit;
|
||||
}
|
||||
$casemodel = $exist ? file_get_contents("$boot/$file") : '';
|
||||
|
||||
Reference in New Issue
Block a user