Fix the comment on install_switch.php.

This commit is contained in:
markjcrane 2016-02-29 11:43:32 -07:00
parent d110fe8f7e
commit f7be0cc943
1 changed files with 1 additions and 2 deletions

View File

@ -115,8 +115,7 @@ include "root.php";
recursive_delete($this->global_settings->switch_conf_dir());
}
//make the directory
sure the conf directory exists
//make sure the conf directory exists
if (!is_dir($this->global_settings->switch_conf_dir())) {
if (!mkdir($this->global_settings->switch_conf_dir(), 0774, true)) {
throw new Exception("Failed to create the switch conf directory '".$this->global_settings->switch_conf_dir()."'. ");