Remove duplicate content from posts

This commit is contained in:
Oliver Davies 2018-02-27 21:36:41 +00:00
parent 4f281e4b88
commit c5b6d51e37
37 changed files with 13 additions and 102 deletions

View file

@ -15,10 +15,6 @@ The way that was recommended was by using a `switch()` function based on Pantheo
{% endblock %}
{% block content %}
I was recently doing some work on a site hosted on [Pantheon](http://getpantheon.com) and came across an issue, for which part of the suggested fix was to ensure that the `$base_url` variable was explicitly defined within settings.php (this is also best practice on all Drupal sites).
The way that was recommended was by using a `switch()` function based on Pantheon's environment variable. For example:
```language-php
switch ($_SERVER['PANTHEON_ENVIRONMENT']) {
case 'dev':