Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Use global $base_url to show site url as the current code shows only the domain name and not the base path.
This can also remove a condition which checks for http vs https
Comment | File | Size | Author |
---|---|---|---|
#3 | permalinklabel-2616342.patch | 1.05 KB | rajarju |
Comments
Comment #2
rajarju CreditAttribution: rajarju commentedComment #3
rajarju CreditAttribution: rajarju as a volunteer commentedAttaching patch
Comment #4
rajarju CreditAttribution: rajarju as a volunteer commentedComment #6
dsnopekThanks! It works in my manual testing. So, committed! :-)
Let's see what the automated tests say (but I think they'll be fine):
https://travis-ci.org/panopoly/panopoly/builds/91396337