Changeset 39
- Timestamp:
- Dec 15, 2005 9:24:53 PM (19 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/css/admin.inc.css
r38 r39 215 215 table 216 216 { 217 border : 1;217 border-size: 1px; 218 218 border-collapse: collapse; 219 219 border-spacing: 0; … … 236 236 table.list 237 237 { 238 border : 1;238 border-size: 1px; 239 239 width: 100%; 240 240 margin: 4px 0; -
trunk/lib/App.inc.php
r38 r39 42 42 'site_name' => null, 43 43 'site_email' => null, 44 'site_url' => '', // URL automatically determined by _SERVER['HTTP_HOST'] if not set here. 44 45 45 46 // The location the user will go if the system doesn't knew where else to send them. … … 313 314 // and is used whenever a URL need be used to the current site. 314 315 // Not available on cli scripts obviously. 315 if (isset($_SERVER['HTTP_HOST']) && '' != $_SERVER['HTTP_HOST'] ) {316 if (isset($_SERVER['HTTP_HOST']) && '' != $_SERVER['HTTP_HOST'] && '' != $this->getParam('site_url')) { 316 317 $this->setParam(array('site_url' => sprintf('%s://%s', ('on' == getenv('HTTPS') ? 'https' : 'http'), getenv('HTTP_HOST')))); 317 318 }
Note: See TracChangeset
for help on using the changeset viewer.