wavelog/application/controllers/Operator.php

21 lines
629 B
PHP
Raw Normal View History

2024-06-25 23:30:26 +02:00
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
# This is the controller for the operator dialog which can be enabled for special callsign activities
# Check out the config "special_callsign" in your config.php for more information
class Operator extends CI_Controller {
public function displayOperatorDialog() {
$this->load->view('operator/index');
}
public function saveOperator() {
2024-07-27 22:04:06 +02:00
$operator = ['operator_callsign' => $this->security->xss_clean(strtoupper($this->input->post('operator_callsign')))];
2024-06-25 23:30:26 +02:00
$this->session->set_userdata($operator);
}
}