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 '

数据目录未导入!

'; }