mirror of
https://github.com/unraid/webgui.git
synced 2026-01-13 13:09:58 -06:00
Fix plugins not able to check for updates to themselves
This commit is contained in:
@@ -41,7 +41,7 @@ switch ($_POST['action']) {
|
||||
$plugin = $options['plugin'] ?? '';
|
||||
|
||||
$name = unbundle($options['name'] ?? $plugin);
|
||||
$file = "/var/log/plugins/$plugin";
|
||||
$file = "/boot/config/plugins/$plugin";
|
||||
$file = realpath($file)==$file ? $file : "";
|
||||
|
||||
if ( ! $plugin || ! file_exists($file) ) {
|
||||
@@ -98,4 +98,4 @@ switch ($_POST['action']) {
|
||||
file_put_contents("/tmp/reboot_notifications",$newReboots);
|
||||
break;
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user