Changeset 1896 for sandbox/filemanager/inc/class.vfs_functions.inc.php
- Timestamp:
- 12/28/09 07:59:33 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/filemanager/inc/class.vfs_functions.inc.php
r1893 r1896 221 221 function summary() 222 222 { 223 header('Content-Type: text/html');223 header('Content-Type: image/gif'); 224 224 $expires = 60*60*24*15; 225 225 header("Cache-Control: maxage=".$expires); 226 226 header("Pragma: public"); 227 227 header("Expires: ".gmdate('D, d M Y H:i:s', time()+$expires)); 228 echo '<img src="data:image/gif;base64,';229 228 if($this->file) 230 229 { … … 239 238 fclose($handle); 240 239 } 241 echo base64_encode($content); 242 } 243 echo '">'; 240 echo $content; 241 } 244 242 $GLOBALS['phpgw']->common->phpgw_exit(); 245 243 }
Note: See TracChangeset
for help on using the changeset viewer.