Retain custom case image across reboot.

This commit is contained in:
Tom Mortensen
2019-08-17 13:05:56 -07:00
parent e53074a8bc
commit 5bb4ebc7e7
3 changed files with 1 additions and 5 deletions
-1
View File
@@ -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") : '';