mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
better
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
class Staticmap extends CI_Controller {
|
||||
|
||||
public function render($slug) {
|
||||
public function render($slug = '') {
|
||||
|
||||
// set to true to remove cached imaged for debugging pruposes
|
||||
$debugging = false;
|
||||
@@ -15,7 +15,7 @@ class Staticmap extends CI_Controller {
|
||||
$this->load->model('stationsetup_model');
|
||||
$this->load->model('visitor_model');
|
||||
|
||||
$slug = $this->security->xss_clean($slug) ?? '';
|
||||
$slug = $this->security->xss_clean($slug);
|
||||
if (empty($slug)) {
|
||||
show_404(__("Unknown Public Page."));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user