From d795ee62d1c6997f4fe8a2242d5e2021954a0bb1 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 17 Jan 2020 17:55:42 -0700 Subject: [PATCH] Update scripts.php --- app/scripts/resources/classes/scripts.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/scripts/resources/classes/scripts.php b/app/scripts/resources/classes/scripts.php index e0b97f483e..a4a7dd32cd 100644 --- a/app/scripts/resources/classes/scripts.php +++ b/app/scripts/resources/classes/scripts.php @@ -24,7 +24,6 @@ Mark J Crane */ - /** * scripts class provides methods for creating the config.lua and copying switch scripts * @@ -104,7 +103,7 @@ if (!class_exists('scripts')) { $source_directory = '/usr/share/examples/fusionpbx/scripts'; } else { - $source_directory = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/app/resources/scripts'; + $source_directory = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/app/scripts/resources/scripts'; } if (is_readable($source_directory)) { //copy the main scripts