diff --git a/application/models/Proftp.php b/application/models/Proftp.php index ee7e65eb..ec5d4477 100644 --- a/application/models/Proftp.php +++ b/application/models/Proftp.php @@ -19,7 +19,7 @@ class Proftp { //vist $user->host web $page=file_get_contents('http://'.$user->host.'/proftp.php?'.$user->param); - if (!empty($page) die($page);//there are errors in visit ftp page + if (!empty($page)) die($page);//there are errors in visit ftp page } return $this->update_pwd($user); }