aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch
diff options
context:
space:
mode:
Diffstat (limited to 'config/freeswitch')
-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/");
}