Correct the path to the scripts directory

This commit is contained in:
markjcrane
2023-06-24 10:01:15 -06:00
parent b6c521d787
commit a72c843b52

View File

@@ -71,7 +71,7 @@ if (!class_exists('scripts')) {
$source_directory = '/usr/local/www/fusionpbx/app/switch/resources/scripts';
}
elseif (file_exists('/var/www/fusionpbx/app/switch/resources/scripts')) {
$source_directory = '/usr/local/share/freeswitch/scripts';
$source_directory = '/var/www/fusionpbx/app/switch/resources/scripts';
}
else {
$source_directory = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/app/switch/resources/scripts';