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