From aa7f175fe6d52dc8ac302359deea655a16c744e7 Mon Sep 17 00:00:00 2001 From: Squidly271 Date: Tue, 14 Feb 2023 15:36:54 -0500 Subject: [PATCH] Fix plugins not able to check for updates to themselves --- plugins/dynamix.plugin.manager/scripts/PluginAPI.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/dynamix.plugin.manager/scripts/PluginAPI.php b/plugins/dynamix.plugin.manager/scripts/PluginAPI.php index 3129f58dd..1915ab237 100644 --- a/plugins/dynamix.plugin.manager/scripts/PluginAPI.php +++ b/plugins/dynamix.plugin.manager/scripts/PluginAPI.php @@ -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; } -?> \ No newline at end of file +?>