/[drupal]/contributions/modules/filemanager/filemanager.module
ViewVC logotype

Diff of /contributions/modules/filemanager/filemanager.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.18, Thu Sep 14 06:06:30 2006 UTC revision 1.18.2.1, Sat Nov 18 00:02:11 2006 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: filemanager.module,v 1.17 2006/09/12 17:53:20 drewish Exp $  // $Id: filemanager.module,v 1.18 2006/09/14 06:06:30 drewish Exp $
3    
4  /**  /**
5   * @defgroup filemanager File Upload/Download Manager   * @defgroup filemanager File Upload/Download Manager
# Line 1040  function _filemanager_transfer($source, Line 1040  function _filemanager_transfer($source,
1040    
1041    // Transfer file in 1024 byte chunks to save memory usage.    // Transfer file in 1024 byte chunks to save memory usage.
1042    if ($fd = fopen($source, 'rb')) {    if ($fd = fopen($source, 'rb')) {
1043        set_time_limit(0);
1044      while (!feof($fd)) {      while (!feof($fd)) {
1045        print fread($fd, 1024);        print fread($fd, 1024);
1046          ob_flush();
1047          flush();
1048      }      }
1049      fclose($fd);      fclose($fd);
1050    }    }

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.18.2.1

  ViewVC Help
Powered by ViewVC 1.1.2