mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
[Contesting} Set userdata radio when logging
This commit is contained in:
@@ -71,6 +71,8 @@ class Contesting extends CI_Controller {
|
||||
public function setSession() {
|
||||
$this->load->model('Contesting_model');
|
||||
$this->Contesting_model->setSession();
|
||||
|
||||
$this->session->set_userdata('radio', $this->input->post('radio'));
|
||||
header('Content-Type: application/json');
|
||||
echo json_encode($this->Contesting_model->getSession());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user