Changeset 1838 for sandbox/filemanager/inc/class.vfs_functions.inc.php
- Timestamp:
- 12/15/09 12:31:37 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/filemanager/inc/class.vfs_functions.inc.php
r1829 r1838 224 224 header("Pragma: public"); 225 225 header("Expires: ".gmdate('D, d M Y H:i:s', time()+$expires)); 226 echo$this->bo->vfs->summary(array('path' => $this->path,226 $content = $this->bo->vfs->summary(array('path' => $this->path, 227 227 'string' => $this->file 228 228 )); 229 if (sizeof($content) > 0) 230 echo $content; 231 else 232 { 233 $filename = './filemanager/templates/default/images/error.gif'; 234 $handle = fopen($filename,'rb'); 235 echo fread($handle,filesize($filename)); 236 fclose($handle); 237 } 238 229 239 $GLOBALS['phpgw']->common->phpgw_exit(); 230 240 }
Note: See TracChangeset
for help on using the changeset viewer.