* [task#140300,done,0.2h] add tolist to product / projects.
This commit is contained in:
@@ -514,6 +514,7 @@ class file extends control
|
||||
|
||||
$file = $this->file->getById($fileID);
|
||||
if(empty($file) or !$this->file->fileExists($file)) return $this->send(array('result' => 'fail', 'message' => $this->lang->file->fileNotFound, 'load' => helper::createLink('my', 'index'), 'closeModal' => true));
|
||||
if(!$this->file->checkPriv($file)) return $this->send(array('result' => 'fail', 'load' => array('alert' => $this->lang->file->accessDenied, 'locate' => helper::createLink('my', 'index')), 'closeModal' => true));
|
||||
|
||||
$obLevel = ob_get_level();
|
||||
for($i = 0; $i < $obLevel; $i++) ob_end_clean();
|
||||
|
||||
Reference in New Issue
Block a user