Fix the comment on install_switch.php.
This commit is contained in:
parent
d110fe8f7e
commit
f7be0cc943
|
|
@ -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()."'. ");
|
||||
|
|
|
|||
Loading…
Reference in New Issue