From c9a07b3cd022017f07d6a4c48b6b477b4a4dd6d0 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 28 May 2026 21:04:00 +0000 Subject: [PATCH] Change file content check to 'ReadWritePaths' Updated the check in upgrade.php to look for 'ReadWritePaths' instead of '/etc/freeswitch'. --- core/upgrade/upgrade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/upgrade/upgrade.php b/core/upgrade/upgrade.php index 379151d2a..98363e0d7 100644 --- a/core/upgrade/upgrade.php +++ b/core/upgrade/upgrade.php @@ -437,8 +437,8 @@ // Get the file contents $file_contents = file_get_contents($service_file); - // Check if "/etc/freeswitch" exists in the file contents - $file_updated = strpos($file_contents, '/etc/freeswitch') !== false; + // Check if "ReadWritePaths" exists in the file contents + $file_updated = strpos($file_contents, 'ReadWritePaths') !== false; // Check if the service file is writable $file_writable = is_writable($service_file);