Cloudlog/application/controllers/Thirdpartylogins.php

18 wiersze
366 B
PHP

<?php
class Thirdpartylogins extends CI_Controller {
function __construct()
{
parent::__construct();
$this->load->model('user_model');
if(!$this->user_model->authorize(2)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); }
}
public function index() {
}
}
?>