mirror of
https://github.com/unraid/webgui.git
synced 2026-05-03 16:29:45 -05:00
Notifications: fixes and enhancements
This commit is contained in:
@@ -48,7 +48,7 @@ case 'get':
|
||||
break;
|
||||
case 'hide':
|
||||
$file = $_POST['file']??'';
|
||||
if (file_exists($file) && $file==realpath($file) && pathinfo($file)['extension']=='notify') chmod($file,0000);
|
||||
if (file_exists($file) && $file==realpath($file) && pathinfo($file)['extension']=='notify') chmod($file,0400);
|
||||
break;
|
||||
case 'archive':
|
||||
$file = $_POST['file']??'';
|
||||
|
||||
Reference in New Issue
Block a user