From 04f3fa6a7a2398a0a37ed1ab8313ec1a9ffb6431 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Wed, 25 Nov 2015 18:18:48 -0700 Subject: [PATCH] Another minor adjustment. --- core/install/resources/classes/install_switch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/install/resources/classes/install_switch.php b/core/install/resources/classes/install_switch.php index 4eb4b04247..ac959b8d16 100644 --- a/core/install/resources/classes/install_switch.php +++ b/core/install/resources/classes/install_switch.php @@ -241,7 +241,7 @@ include "root.php"; else { $script_dir = $this->detect_switch->script_dir(); } - if (file_exists($script_dir())) { + if (file_exists($script_dir)) { if (file_exists('/usr/share/examples/fusionpbx/resources/install/scripts')){ $src_dir = '/usr/share/examples/fusionpbx/resources/install/scripts'; }