aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch/freeswitch.inc
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-06-13 15:01:06 -0600
committermcrane <mctch@yahoo.com>2009-06-13 15:02:26 -0600
commit7e7fb10565a04e82c507d83ddaa0061c725cb294 (patch)
tree34e832d3cd1ab73e4bbd733548b8af92132e0dcc /config/freeswitch/freeswitch.inc
parentd3eaa1837b5e99e8377658b7bc48a29abd7ac15c (diff)
downloadpfsense-packages-7e7fb10565a04e82c507d83ddaa0061c725cb294.tar.gz
pfsense-packages-7e7fb10565a04e82c507d83ddaa0061c725cb294.tar.bz2
pfsense-packages-7e7fb10565a04e82c507d83ddaa0061c725cb294.zip
Backup and TFTP package change backup directory to /root/backup/
Diffstat (limited to 'config/freeswitch/freeswitch.inc')
-rw-r--r--config/freeswitch/freeswitch.inc6
1 files changed, 3 insertions, 3 deletions
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/");
}