Changeset 2177 for trunk/application

Show
Ignore:
Timestamp:
02/27/2008 12:47:04 PM (9 months ago)
Author:
gregmac
Message:

Add support for blank site_protocol (if not explicity passed to base, tries to auto-detect http or https); Add support for auto-detecting domain part of site_domain from HTTP_HOST; Add fallback support for blank site_domain (makes a best effort)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/application/config/config.php

    r2003 r2177  
    22/** 
    33 * Domain name, with the installation directory. Default: localhost/kohana/ 
     4 * If this starts with a /, Kohana will try to get the domain from HTTP_HOST 
     5 * from  the web server. 
    46 */ 
    57$config['site_domain'] = 'localhost/kohana/';