<?php echo '<base href="http'.($PAGE_IS_SECURE ? 's' : '').'://mydomain.com" />'; ?>

Php Conditional Basepath

Similar Code Examples