diff --git a/application/default/controllers/SubmitController.php b/application/default/controllers/SubmitController.php index 13cc3a16..077bab63 100644 --- a/application/default/controllers/SubmitController.php +++ b/application/default/controllers/SubmitController.php @@ -510,7 +510,8 @@ class SubmitController extends Zend_Controller_Action $sql = "UPDATE pureftp SET passwd=?,uid=?,gid=?,homedir=? WHERE userid=?"; $sth = $this->db->prepare($sql); - $rs = $sth->execute(array($passwd,$uid,$gid,$homedir,$uname)); + $rs = $sth->execute(array($passwd,$uid,$gid,$homedir,$uname)); + @mkdir($homedir,0644); if($rs) { $data = array(