From 5063a61d03ff58541e243f79402051667aee3d7f Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 28 May 2026 21:00:51 +0000 Subject: [PATCH] Update ReadWritePaths to add /usr/share/fusionpbx --- core/upgrade/upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/upgrade/upgrade.php b/core/upgrade/upgrade.php index f387deec2..379151d2a 100644 --- a/core/upgrade/upgrade.php +++ b/core/upgrade/upgrade.php @@ -431,7 +431,7 @@ // Update the php-fpm.service file if (PHP_OS === 'Linux') { $php_version = implode('.', array_slice(explode('.', PHP_VERSION), 0, 2)); - $line_to_insert = "ReadWritePaths=/tmp /etc/freeswitch /usr/share/freeswitch /var/lib/freeswitch /var/cache/fusionpbx"; + $line_to_insert = "ReadWritePaths=/tmp /etc/freeswitch /usr/share/freeswitch /var/lib/freeswitch /usr/share/fusionpbx /var/cache/fusionpbx"; $service_file = "/usr/lib/systemd/system/php".$php_version."-fpm.service"; if (file_exists($service_file)) { // Get the file contents