去除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;
|
||||
|
@ -22,6 +23,7 @@ class FilelistController extends Zend_Controller_Action {
|
|||
$i++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->_helper->viewRenderer->setNoRender();
|
||||
|
|
Loading…
Reference in New Issue