fix error with ftp1 judgement.

--此行及以下内容将会被忽略-

M    admin/controllers/DownController.php
This commit is contained in:
wlx 2010-11-30 06:12:12 +00:00
parent 7b1759d39b
commit 3d9ea8c7e0
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class Admin_DownController extends Zend_Controller_Action
// todo ...
}
//deal with ftp1 account
if (has_ftp1) {
if ($has_ftp1) {
$user=(object)array("id"=>$row['userid'],
"username"=>"westdc_".$row['userid'],
"password"=>md5('westdc'.$row['userid'].rand(1000,9999)),