From e12cc0f05efbebdabe5a3663892c21fd643586f3 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Wed, 20 Mar 2013 17:38:19 +0000 Subject: [PATCH] Fix the recordings directory. --- resources/install.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/install.php b/resources/install.php index 7adfdd3e57..9e063d33ac 100644 --- a/resources/install.php +++ b/resources/install.php @@ -179,7 +179,9 @@ require_once "includes/lib_functions.php"; if (file_exists('/var/lib/freeswitch/storage')) { $switch_storage_dir = '/var/lib/freeswitch/storage'; $switch_voicemail_dir = $switch_storage_dir.'/voicemail'; - $switch_recordings_dir = $switch_storage_dir.'/recordings'; + } + if (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';