- Timestamp:
- May 14, 2008, 11:53:25 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/create_listing_file.php
r2299 r2337 140 140 141 141 // url of this script 142 $pwg_conf['this_url'] = 'http://'.$_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF']; 142 $pwg_conf['this_url'] = 143 (empty($_SERVER['HTTPS']) ? 'http://' : 'https://') 144 .str_replace(':'.$_SERVER['SERVER_PORT'], '', $_SERVER['HTTP_HOST']) 145 .($_SERVER['SERVER_PORT'] != 80 ? ':'.$_SERVER['SERVER_PORT'] : '') 146 .$_SERVER['PHP_SELF']; 143 147 144 148 // list of reserved directory names
Note: See TracChangeset
for help on using the changeset viewer.