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

CommentFileSizeAuthor
#3 permalinklabel-2616342.patch1.05 KBrajarju
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rajarju created an issue. See original summary.

rajarju’s picture

Title: User base_url for showing site url over permalink field » User base_url for showing site url over permalink field (label)
rajarju’s picture

Attaching patch

rajarju’s picture

Issue tags: -permalink

  • dsnopek committed 6755afa on 7.x-1.x
    Update Panopoly Admin for Issue #2616342 by rajarju: User base_url for...
dsnopek’s picture

Title: User base_url for showing site url over permalink field (label) » Use $base_url for showing site url over permalink field (label)
Status: Active » Fixed

Thanks! 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

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.