fix spell error

This commit is contained in:
wlx 2013-05-24 08:48:52 +00:00
parent 13296214af
commit 170df8fbea
1 changed files with 1 additions and 1 deletions

View File

@ -683,7 +683,7 @@ class HeiheController extends DataController
//$sth = $this->db->prepare($sql); //$sth = $this->db->prepare($sql);
//$rs = $sth->execute(array($uname,$passwd,$uid,$gid,$homedir)); //$rs = $sth->execute(array($uname,$passwd,$uid,$gid,$homedir));
//$sql="insert into proftpusers (userid,passwd,uid,gid,homedir) values('".$uname."','".$passwd."',109,1002,'".$homedir."')"; //$sql="insert into proftpusers (userid,passwd,uid,gid,homedir) values('".$uname."','".$passwd."',109,1002,'".$homedir."')";
$sql="insert into ".$ftptalbe." (userid,passwd,uid,gid,homedir) values('".$uname."','".$passwd."',1002,1002,'".$homedir."')"; $sql="insert into ".$ftptable." (userid,passwd,uid,gid,homedir) values('".$uname."','".$passwd."',1002,1002,'".$homedir."')";
$rs=$this->db->query($sql); $rs=$this->db->query($sql);
if($rs) if($rs)
{ {