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