Skip to content

Commit 479f114

Browse files
authored
Merge pull request wavelog#273 from dg0tm/dev
some installer fixes...
2 parents 5b4aa36 + 5beb7f2 commit 479f114

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install/index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ function delDir($dir)
281281
<?php
282282
$maxUploadFileSize = ini_get('upload_max_filesize');
283283
$maxUploadFileSizeBytes = (int)($maxUploadFileSize) * (1024 * 1024); // convert to bytes
284-
if ($maxUploadFileSizeBytes > ($max_upload_file_size * 1024 * 1024)) { // compare with given value in bytes
284+
if ($maxUploadFileSizeBytes >= ($max_upload_file_size * 1024 * 1024)) { // compare with given value in bytes
285285
?>
286286
<span class="badge text-bg-success"><?php echo $maxUploadFileSize; ?></span>
287287
<?php } else {
@@ -300,7 +300,7 @@ function delDir($dir)
300300
<?php
301301
$maxUploadFileSize = ini_get('post_max_size');
302302
$maxUploadFileSizeBytes = (int)($maxUploadFileSize) * (1024 * 1024); // convert to bytes
303-
if ($maxUploadFileSizeBytes > ($post_max_size * 1024 * 1024)) { // compare with given value in bytes
303+
if ($maxUploadFileSizeBytes >= ($post_max_size * 1024 * 1024)) { // compare with given value in bytes
304304
?>
305305
<span class="badge text-bg-success"><?php echo $maxUploadFileSize; ?></span>
306306
<?php } else {
@@ -438,7 +438,7 @@ function delDir($dir)
438438
<div class="col">
439439
<div class="mb-3">
440440
<label for="db_hostname" class="form-label">Hostname or IP<i id="callbook_tooltip" data-bs-toggle="tooltip" data-bs-placement="top" title="Directory Hint" class="fas fa-question-circle text-muted ms-2" data-bs-custom-class="custom-tooltip" data-bs-html="true" data-bs-title="Usually 'localhost'. Optional with '...:[port]'. Default Port: 3306"></i></label>
441-
<input type="text" id="db_hostname" value="localhost" class="form-control" name="db_hostname" />
441+
<input type="text" id="db_hostname" placeholder="localhost" class="form-control" name="db_hostname" />
442442
</div>
443443
</div>
444444
<div class="col">

0 commit comments

Comments
 (0)