change ftp url

This commit is contained in:
wlx 2013-12-16 06:12:38 +00:00
parent 8d01826db3
commit ac7245e603
1 changed files with 6 additions and 6 deletions

View File

@ -553,9 +553,9 @@ class Admin_DataController extends Zend_Controller_Action
if ($host=='ftp1.westgis.ac.cn') if ($host=='ftp1.westgis.ac.cn')
{ {
file_get_contents("http://ftp1.westgis.ac.cn/proftp_upload.php?uuid=".$uuid."&filelist=1"); file_get_contents("http://ftp1.westgis.ac.cn/proftp_upload.php?uuid=".$uuid."&filelist=1");
} else if ($host=='ftp2.westgis.ac.cn') } else if ($host=='ftp.sanjiangyuan.org.cn')
{ {
file_get_contents("http://ftp2.westgis.ac.cn/proftp_upload.php?uuid=".$uuid."&filelist=1"); file_get_contents("http://ftp.sanjiangyuan.org.cn/proftp_upload.php?uuid=".$uuid."&filelist=1");
} }
if($ds) if($ds)
@ -596,9 +596,9 @@ class Admin_DataController extends Zend_Controller_Action
if ($host=='ftp1.westgis.ac.cn') if ($host=='ftp1.westgis.ac.cn')
{ {
file_get_contents("http://ftp1.westgis.ac.cn/proftp_upload.php?uuid=".$uuid."&filelist=1"); file_get_contents("http://ftp1.westgis.ac.cn/proftp_upload.php?uuid=".$uuid."&filelist=1");
} else if ($host=='ftp2.westgis.ac.cn') } else if ($host=='ftp.sanjiangyuan.org.cn')
{ {
file_get_contents("http://ftp2.westgis.ac.cn/proftp_upload.php?uuid=".$uuid."&filelist=1"); file_get_contents("http://ftp.sanjiangyuan.org.cn/proftp_upload.php?uuid=".$uuid."&filelist=1");
} }
if($ds) if($ds)
@ -627,9 +627,9 @@ class Admin_DataController extends Zend_Controller_Action
{ {
file_get_contents("http://ftp1.westgis.ac.cn/proftp_upload.php?uuid=".$uuid."&filelist=1"); file_get_contents("http://ftp1.westgis.ac.cn/proftp_upload.php?uuid=".$uuid."&filelist=1");
echo '<h1>数据目录成功导入!</h1>'; echo '<h1>数据目录成功导入!</h1>';
} else if ($row['host']=='ftp2.westgis.ac.cn') } else if ($row['host']=='ftp.sanjiangyuan.org.cn')
{ {
file_get_contents("http://ftp2.westgis.ac.cn/proftp_upload.php?uuid=".$uuid."&filelist=1"); file_get_contents("http://ftp.sanjiangyuan.org.cn/proftp_upload.php?uuid=".$uuid."&filelist=1");
echo '<h1>数据目录成功导入!</h1>'; echo '<h1>数据目录成功导入!</h1>';
} else { } else {
echo '<h1>数据目录未导入!</h1>'; echo '<h1>数据目录未导入!</h1>';