From a1845123fe2df65f37e83139563f9a122eb3f9a1 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 27 May 2026 15:22:30 -0600 Subject: [PATCH] Fix the switch script copy from app sub directory --- app/switch/resources/classes/switch_files.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/switch/resources/classes/switch_files.php b/app/switch/resources/classes/switch_files.php index dfe106b61..c42fd6ed4 100644 --- a/app/switch/resources/classes/switch_files.php +++ b/app/switch/resources/classes/switch_files.php @@ -102,8 +102,8 @@ class switch_files { recursive_copy($source_directory, $destination_directory); unset($source_directory); - //copy the app/*/resource/install/scripts - $app_scripts = glob(dirname(__DIR__, 4) . 'app/*/resource/scripts'); + //copy the app/*/resources/install/scripts + $app_scripts = glob(dirname(__DIR__, 4) . 'app/*/resources/scripts'); foreach ($app_scripts as $app_script) { recursive_copy($app_script, $destination_directory); }