Changeset 2229 for trunk/include/functions_url.inc.php
- Timestamp:
- 02/29/08 14:10:58 (5 years ago)
- Files:
-
- 1 modified
-
trunk/include/functions_url.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_url.inc.php
r2215 r2229 61 61 if ($with_scheme) 62 62 { 63 $url .= 'http://'.$_SERVER['HTTP_HOST']; 63 if (empty($_SERVER['HTTPS'])) 64 { 65 $url .= 'http://'; 66 } 67 else 68 { 69 $url .= 'https://'; 70 } 71 $url .= $_SERVER['HTTP_HOST']; 64 72 if ($_SERVER['SERVER_PORT'] != 80) 65 73 {
![(please configure the [header_logo] section in trac.ini)](http://piwigo.org/screenshots/piwigo_logo_on_white.png)