Show
Ignore:
Timestamp:
09/18/08 22:26:58 (4 months ago)
Author:
sotarok
Message:

SERVER_NAME だとポートが指定されないので HTTP_HOST に変更

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • websites/events.php.gr.jp/trunk/app/controllers/users_controller.php

    r18961 r19527  
    5050    protected function getRequest() 
    5151    { 
    52         $returnTo = 'http://'.$_SERVER['SERVER_NAME'].$this->here; 
     52        $returnTo = 'http://'.$_SERVER['HTTP_HOST'] . $this->here; 
    5353        $provider_list = array( 
    5454            'http://profile.typekey.com/', 
     
    6969                    $login_url, 
    7070                    $returnTo, 
    71                     'http://'.$_SERVER['SERVER_NAME'] 
     71                    'http://'.$_SERVER['HTTP_HOST'] 
    7272                ); 
    7373            } catch (InvalidArgumentException $e) {