Skip to content

add orange header with warning if dev/testing#36

Open
mboehn wants to merge 1 commit into
masterfrom
dev-warning
Open

add orange header with warning if dev/testing#36
mboehn wants to merge 1 commit into
masterfrom
dev-warning

Conversation

@mboehn
Copy link
Copy Markdown
Contributor

@mboehn mboehn commented Nov 5, 2017

first php code in a while. lets see how this goes.

In OverrideConfig.php:
$envWarning = "This is a test environment";

This is useful so users know they are in the wrong place, and for us to remember that we're not live.

first php code in a while. lets see how this goes.
</div>
</div>
<?php
if ($envWarning) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please declare $envWarning with default value false or add an isset check here as it will trigger an notice error in php.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants