Fix the comment on install_switch.php.

This commit is contained in:
markjcrane
2016-02-29 11:43:32 -07:00
parent c23f53ea34
commit d8eaf0e666

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()."'. ");