Advertisement
Guest User

richard

a guest
Mar 4th, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.34 KB | None | 0 0
  1. $added_api_key = False;
  2.     if ($headerParams != null) {
  3.       foreach ($headerParams as $key => $val) {
  4.        
  5.     // La linea de abajo la agregue yo Richard y comente la anterior
  6.     //$headers[] = "$key: $val";
  7.         $headers[$key] = $val;
  8.  
  9.         if ($key == $this->headerName) {
  10.           $added_api_key = True;
  11.         }
  12.       }
  13.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement