This commit is contained in:
HB9HIL
2024-10-12 07:44:04 +00:00
parent 6b515f3307
commit 6381f19f1a

View File

@@ -55,14 +55,14 @@ class Widgets extends CI_Controller {
return;
}
$slug = $this->security->xss_clean($this->input->get('slug'));
$slug = $this->input->get('slug', TRUE);
if ($slug != null) {
$data['logo_url'] = base_url() . 'index.php/visitor/' . $slug;
} else {
$data['logo_url'] = 'https://github.com/wavelog/wavelog';
}
$theme = $this->security->xss_clean($this->input->get('theme'));
$theme = $this->input->get('theme', TRUE);
if ($theme != null) {
$data['theme'] = $theme;
} else {