Changeset 1552


Ignore:
Timestamp:
Sep 20, 2006, 11:24:34 PM (18 years ago)
Author:
rub
Message:

Resolved Issue ID 0000544:

o Error on download HD picture

Merge branch-1_6 1550:1551 into BSF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/action.php

    r1187 r1552  
    5959  header("Content-Transfer-Encoding: binary");
    6060  header("Content-Length: ".@filesize($filename));
    61   set_time_limit(0);
     61
     62  // Looking at the safe_mode configuration for execution time
     63  if (ini_get('safe_mode') == 0)
     64  {
     65    @set_time_limit(0);
     66  }
     67
    6268  @readfile("$filename") or die("File not found.");
    6369}
Note: See TracChangeset for help on using the changeset viewer.