Changeset 9055


Ignore:
Timestamp:
02/02/11 12:39:17 (9 years ago)
Author:
plg
Message:

merge r9054 from branch 2.1 to trunk

bug 2175 fixed: do not use the HTML prefetch feature with Google Chrome because
it was sometimes making the photos impossible to show.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r8802 r9055  
    648648 
    649649if (isset($picture['next']['image_url']) 
    650     and $picture['next']['is_picture'] ) 
     650    and $picture['next']['is_picture'] 
     651    and strpos($_SERVER['HTTP_USER_AGENT'], 'Chrome/') === false) 
    651652{ 
    652653  $template->assign('U_PREFETCH', $picture['next']['image_url'] ); 
Note: See TracChangeset for help on using the changeset viewer.