set the correct URL

This commit is contained in:
HB9HIL
2025-07-23 09:16:59 +02:00
parent afef134ba3
commit 2ec25e76a4

View File

@@ -93,7 +93,7 @@ class Widgets extends CI_Controller {
return;
}
$data['userid'] = $this->publicsearch->get_userid_for_slug($data['slug']);
$data['logo_url'] = base_url() . 'index.php/visitor/' . $data['slug'];
$data['logo_url'] = site_url('visitor') . '/' . $data['slug'];
$theme = $this->input->get('theme', TRUE);
if ($theme != null) {