better use site_url() instead base_url() to include index page (if set)

This commit is contained in:
HB9HIL
2025-07-22 15:27:44 +02:00
parent ce585d2aa4
commit f1fd60ccef
3 changed files with 3 additions and 3 deletions

View File

@@ -43,7 +43,7 @@
</tr>
<tr>
<td><?= __("Base URL"); ?></td>
<td><span id="baseUrl"><a href="<?php echo $this->config->item('base_url') ?>" target="_blank"><?php echo $this->config->item('base_url'); ?></a></span> <span data-bs-toggle="tooltip" title="<?= __("Copy to clipboard"); ?>" onclick='copyURL("<?php echo $this->config->item('base_url'); ?>")'><i class="copy-icon fas fa-copy"></span></td>
<td><span id="baseUrl"><a href="<?php echo site_url(); ?>" target="_blank"><?php echo site_url(); ?></a></span> <span data-bs-toggle="tooltip" title="<?= __("Copy to clipboard"); ?>" onclick='copyURL("<?php echo site_url(); ?>")'><i class="copy-icon fas fa-copy"></span></td>
</tr>
<tr>
<td><?= __("Migration"); ?></td>