mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-07 20:23:51 +00:00
Update scripts.php
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user