From 7e7fb10565a04e82c507d83ddaa0061c725cb294 Mon Sep 17 00:00:00 2001 From: mcrane Date: Sat, 13 Jun 2009 15:01:06 -0600 Subject: Backup and TFTP package change backup directory to /root/backup/ --- config/freeswitch/freeswitch.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config/freeswitch/freeswitch.inc') diff --git a/config/freeswitch/freeswitch.inc b/config/freeswitch/freeswitch.inc index cc8a00ea..6930c31f 100644 --- a/config/freeswitch/freeswitch.inc +++ b/config/freeswitch/freeswitch.inc @@ -3202,9 +3202,9 @@ function freeswitch_php_install_command() if (strlen($config['installedpackages']['freeswitchmodules']['config'][0]['mod_say_zh']) == 0) { $config['installedpackages']['freeswitchmodules']['config'][0]['mod_say_zh'] = "disable"; } - - // if backup file exists restore it - if (!is_dir('/root/backup/')) { + + //create the backup directory + if (!is_dir('/root/backup/')) { exec("mkdir /root/backup/"); } -- cgit v1.2.3