去除uuid.txt文件
This commit is contained in:
parent
e467fe5225
commit
b104956874
|
@ -12,6 +12,7 @@ class FilelistController extends Zend_Controller_Action {
|
||||||
$fileName = $file['file_name'];
|
$fileName = $file['file_name'];
|
||||||
$filePath = $file['file_path'];
|
$filePath = $file['file_path'];
|
||||||
$id = $file['id'];
|
$id = $file['id'];
|
||||||
|
if($fileName!=='/uuid.txt'){
|
||||||
$pathArray = explode("/",$fileName);
|
$pathArray = explode("/",$fileName);
|
||||||
if(substr($fileName,-1)=='/'&&empty($pathArray[2])){
|
if(substr($fileName,-1)=='/'&&empty($pathArray[2])){
|
||||||
$documents[$i] = $file;
|
$documents[$i] = $file;
|
||||||
|
@ -23,6 +24,7 @@ class FilelistController extends Zend_Controller_Action {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
$this->_helper->layout()->disableLayout();
|
$this->_helper->layout()->disableLayout();
|
||||||
$this->_helper->viewRenderer->setNoRender();
|
$this->_helper->viewRenderer->setNoRender();
|
||||||
echo Zend_Json::encode($documents);
|
echo Zend_Json::encode($documents);
|
||||||
|
|
Loading…
Reference in New Issue