diff --git a/application/default/controllers/DataController.php b/application/default/controllers/DataController.php index 382c44c5..fed5c64d 100755 --- a/application/default/controllers/DataController.php +++ b/application/default/controllers/DataController.php @@ -1043,7 +1043,7 @@ class DataController extends Zend_Controller_Action //判断FTP URL是否附带了用户名和密码 if ($p['host']=='ftp.westgis.ac.cn') $url='ftp://'.$this->view->config->ftp->user.':'.$this->view->config->ftp->password.'@ftp.westgis.ac.cn'.$p['path']; - if (!$bigfile &&is_file($url) && file_exists($url)) + /*if (!$bigfile &&is_file($url) && file_exists($url)) { $this->_helper->layout->disableLayout(); $this->_helper->viewRenderer->setNoRender(); @@ -1059,7 +1059,7 @@ class DataController extends Zend_Controller_Action ->setHeader('Cache-Control','must-revalidate, post-check=0, pre-check=0') ->setHeader('Pragma','public') ->setBody($content); - } else { + } else */{ //是一个FTP,返回用户名称和密码说明 if ($p['host']=='ftp.westgis.ac.cn') {