Changeset 2877

Show
Ignore:
Timestamp:
01/14/12 12:06:50 (4 months ago)
Author:
paparazzia
Message:

see #664

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/phpcommon/functions.php

    r2832 r2877  
    19971997    if (isset($_SERVER["HTTP_VLM_PROXY_AGENT"])) { 
    19981998        $ua = $_SERVER["HTTP_VLM_PROXY_AGENT"]." ".$_SERVER["HTTP_USER_AGENT"]; 
     1999    } else if(isset($_SERVER['HTTP_USER_AGENT'])) { 
     2000        $ua = $_SERVER["HTTP_USER_AGENT"]; 
    19992001    } else { 
    2000         $ua = $_SERVER["HTTP_USER_AGENT"]; 
     2002        $ua = "VlmEngine"; 
    20012003    } 
    20022004    $idusers = is_null($idusers) ? -1 : $idusers;