My google-fu is weak today... I'm looking for a way to dynamically print the url of an OSC site in some of the header/footer and sidebar files.
Asked
Active
Viewed 38 times
1 Answers
0
<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>

Freeman
- 39
- 1
- 1
- 4
-
If that's the solution you're happy with, hit that checkmark next to this answer – random Mar 18 '11 at 20:32