Changeset 1412
- Timestamp:
- 06/09/06 15:41:17 (2 years ago)
- Files:
-
- trunk/lib/request/sfWebRequest.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/request/sfWebRequest.class.php
r1401 r1412 325 325 { 326 326 $pathArray = $this->getPathInfoArray(); 327 328 return 'http://'.$pathArray['HTTP_HOST'].$pathArray['REQUEST_URI']; 327 $protocol = $this->isSecure() ? 'https' : 'http'; 328 329 return $protocol.'://'.$pathArray['HTTP_HOST'].$pathArray['REQUEST_URI']; 329 330 } 330 331