mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Misc fixes
This commit is contained in:
@@ -22,6 +22,12 @@ class Map extends CI_Controller {
|
||||
* QSO Map with country selection and OpenStreetMap
|
||||
*/
|
||||
public function qso_map() {
|
||||
$this->load->model('user_model');
|
||||
if (!$this->user_model->authorize(99)) {
|
||||
$this->session->set_flashdata('error', __("You're not allowed to do that!"));
|
||||
redirect('dashboard');
|
||||
}
|
||||
|
||||
$this->load->library('Geojson');
|
||||
$this->load->model('Map_model');
|
||||
$this->load->model('stations');
|
||||
|
||||
Reference in New Issue
Block a user