From a54772c40672388c6983d0f80e6ca7c1fba50413 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Sat, 16 Apr 2016 00:44:10 -0600 Subject: [PATCH] Restore the path to config.lua. --- app/scripts/resources/classes/scripts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/resources/classes/scripts.php b/app/scripts/resources/classes/scripts.php index 0fbed36a89..6ead2e7db9 100644 --- a/app/scripts/resources/classes/scripts.php +++ b/app/scripts/resources/classes/scripts.php @@ -167,7 +167,7 @@ if (!class_exists('scripts')) { $config = "/usr/local/etc/fusionpbx/config.lua"; } else { - $config = $_SESSION['switch']['scripts']['dir']."/config.lua"; + $config = $_SESSION['switch']['scripts']['dir']."/resources/config.lua"; } $fout = fopen($config,"w"); if(!$fout){