Remove duplicate content from posts
This commit is contained in:
parent
4f281e4b88
commit
c5b6d51e37
37 changed files with 13 additions and 102 deletions
|
|
@ -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':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue