Development

Changeset 2579

You must first sign up to be able to contribute.

Changeset 2579

Show
Ignore:
Timestamp:
10/31/06 15:29:03 (2 years ago)
Author:
fabien
Message:

added SERVER_NAME in sfBrowser

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/util/sfBrowser.class.php

    r2575 r2579  
    8383    unset($_SERVER['argv']); 
    8484    $_SERVER['HTTP_HOST']       = $this->hostname ? $this->hostname : sfConfig::get('sf_app').'-'.sfConfig::get('sf_environment'); 
     85    $_SERVER['SERVER_NAME']     = $_SERVER['HTTP_HOST']; 
    8586    $_SERVER['SERVER_PORT']     = 80; 
    8687    $_SERVER['HTTP_USER_AGENT'] = 'PHP5/CLI';