Ignore:
Timestamp:
Sep 24, 2007 4:42:14 AM (6 years ago)
Author:
thomasb
Message:

Removed comments; codestyle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_shared.inc

    r741 r809  
    531531 */ 
    532532function rc_request_header($name) 
    533   { 
     533{ 
    534534  if (function_exists('getallheaders')) 
    535     { 
    536     $hdrs = getallheaders(); 
    537     $hdrs = array_change_key_case($hdrs, CASE_UPPER); 
     535  { 
     536    $hdrs = array_change_key_case(getallheaders(), CASE_UPPER); 
    538537    $key  = strtoupper($name); 
    539     } 
    540   else 
    541     { 
     538  } 
     539  else 
     540  { 
    542541    $key  = 'HTTP_' . strtoupper(strtr($name, '-', '_')); 
    543542    $hdrs = array_change_key_case($_SERVER, CASE_UPPER); 
    544     } 
    545   if (isset($hdrs[$key])) 
    546     { 
    547     return $hdrs[$key]; 
    548     } 
    549   return null; 
     543  } 
     544 
     545  return $hdrs[$key]; 
    550546  } 
    551547 
Note: See TracChangeset for help on using the changeset viewer.