Changeset 2133
- Timestamp:
- 02/22/2008 12:08:16 PM (11 months ago)
- Files:
-
- 1 modified
-
trunk/system/helpers/download.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/helpers/download.php
r1725 r2133 26 26 if ($filename == '') 27 27 return FALSE; 28 29 // Load the user agent30 if ($user_agent === NULL)31 {32 $user_agent = new User_agent();33 }34 28 35 29 if (is_file($filename)) … … 79 73 80 74 // IE headers 81 if ( $user_agent->browser=== 'Internet Explorer')75 if (Kohana::user_agent('browser') === 'Internet Explorer') 82 76 { 83 77 header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
