Add hidden value for disabling of warning to setup.php

This commit is contained in:
phl0 2017-10-26 10:15:58 +02:00
parent f09870ce56
commit f4eb4f20bc
No known key found for this signature in database
GPG key ID: 48EA1E640798CA9A

View file

@ -65,6 +65,13 @@ include "include/tools.php";
</div> </div>
<form id="config" action="setup.php" method="get"> <form id="config" action="setup.php" method="get">
<input type="hidden" name="cmd" value="writeconfig"> <input type="hidden" name="cmd" value="writeconfig">
<?php
if (defined("DISABLESETUPWARNING")) {
?>
<input type="hidden" name="DISABLESETUPWARNING" value="">
<?php
}
?>
<div class="container"> <div class="container">
<h2><?php echo _("MMDVMHost-Configuration"); ?></h2> <h2><?php echo _("MMDVMHost-Configuration"); ?></h2>
<div class="input-group"> <div class="input-group">