Fix the comment on install_switch.php.
This commit is contained in:
@@ -115,8 +115,7 @@ include "root.php";
|
|||||||
recursive_delete($this->global_settings->switch_conf_dir());
|
recursive_delete($this->global_settings->switch_conf_dir());
|
||||||
}
|
}
|
||||||
|
|
||||||
//make the directory
|
//make sure the conf directory exists
|
||||||
sure the conf directory exists
|
|
||||||
if (!is_dir($this->global_settings->switch_conf_dir())) {
|
if (!is_dir($this->global_settings->switch_conf_dir())) {
|
||||||
if (!mkdir($this->global_settings->switch_conf_dir(), 0774, true)) {
|
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()."'. ");
|
throw new Exception("Failed to create the switch conf directory '".$this->global_settings->switch_conf_dir()."'. ");
|
||||||
|
|||||||
Reference in New Issue
Block a user