Optionally disable setup warning (#165)
* Optionally suppress setup.php warning * Fix negation
This commit is contained in:
parent
7db1ec1493
commit
f09870ce56
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ function checkSetup() {
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
} else {
|
} 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>
|
<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
|
<?php
|
||||||
|
|
Loading…
Reference in a new issue