Optionally disable setup warning (#165)

* Optionally suppress setup.php warning

* Fix negation
This commit is contained in:
Florian (DF2ET) 2017-10-26 09:58:53 +02:00 committed by GitHub
parent 7db1ec1493
commit f09870ce56

View file

@ -79,7 +79,7 @@ function checkSetup() {
<?php
} else {
if (file_exists ("setup.php")) {
if (file_exists ("setup.php") && ! defined("DISABLESETUPWARNING")) {
?>
<div class="alert alert-danger" role="alert"><?php echo _("You forgot to remove setup.php in root-directory of your dashboard or you forgot to configure it! Please delete the file or configure your Dashboard by calling <a href=\"setup.php\">setup.php</a>!"); ?></div>
<?php