Changeset 2338
- Timestamp:
- May 14, 2008, 11:54:45 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_7/tools/create_listing_file.php
r2198 r2338 144 144 145 145 // url of this script 146 $pwg_conf['this_url'] = 'http://'.$_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF']; 146 $pwg_conf['this_url'] = 147 (empty($_SERVER['HTTPS']) ? 'http://' : 'https://') 148 .str_replace(':'.$_SERVER['SERVER_PORT'], '', $_SERVER['HTTP_HOST']) 149 .($_SERVER['SERVER_PORT'] != 80 ? ':'.$_SERVER['SERVER_PORT'] : '') 150 .$_SERVER['PHP_SELF']; 147 151 148 152 // list of reserved directory names
Note: See TracChangeset
for help on using the changeset viewer.