From 80dd8d2c76ff24648dbbc2d8737fcc02c7b76466 Mon Sep 17 00:00:00 2001 From: wlx Date: Sun, 26 May 2013 01:37:37 +0000 Subject: [PATCH] add ftp2 support --- application/admin/controllers/DataController.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/admin/controllers/DataController.php b/application/admin/controllers/DataController.php index ff4e9645..d9081ccb 100755 --- a/application/admin/controllers/DataController.php +++ b/application/admin/controllers/DataController.php @@ -616,6 +616,10 @@ class Admin_DataController extends Zend_Controller_Action { file_get_contents("http://ftp1.westgis.ac.cn/proftp_upload.php?uuid=".$uuid."&filelist=1"); echo '

数据目录成功导入!

'; + } else if ($row['host']=='ftp2.westgis.ac.cn') + { + file_get_contents("http://ftp2.westgis.ac.cn/proftp_upload.php?uuid=".$uuid."&filelist=1"); + echo '

数据目录成功导入!

'; } else { echo '

数据目录未导入!

'; }