From 877b49877fe4e66eee09418cd73de98f4738db92 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Mon, 15 Sep 2014 22:18:57 +0000 Subject: [PATCH] Fix syntax problem in install.php --- resources/install.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/install.php b/resources/install.php index 6d8c81514f..90ab8e41b6 100644 --- a/resources/install.php +++ b/resources/install.php @@ -199,7 +199,7 @@ require_once "resources/functions.php"; $switch_grammar_dir = '/usr/share/freeswitch/grammar'; } //old - else (file_exists('/usr/share/freeswitch/grammar')) { + elseif (file_exists('/usr/share/freeswitch/grammar')) { $switch_grammar_dir = '/usr/share/freeswitch/grammar'; } //new @@ -219,7 +219,6 @@ require_once "resources/functions.php"; //old elseif (file_exists('/var/lib/freeswitch/recordings')) { $switch_recordings_dir = '/var/lib/freeswitch/recordings'; - } } if (file_exists('/usr/share/freeswitch/sounds')) { $switch_sounds_dir = '/usr/share/freeswitch/sounds';