File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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">
You can’t perform that action at this time.
0 commit comments