kopia lustrzana https://github.com/magicbug/Cloudlog
27 wiersze
603 B
PHP
27 wiersze
603 B
PHP
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||
|
|
||
|
/*
|
||
|
Handles Displaying of information for station tools.
|
||
|
*/
|
||
|
|
||
|
class Options extends CI_Controller {
|
||
|
|
||
|
function __construct()
|
||
|
{
|
||
|
parent::__construct();
|
||
|
$this->load->helper(array('form', 'url'));
|
||
|
|
||
|
$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'); }
|
||
|
}
|
||
|
|
||
|
function index() {
|
||
|
|
||
|
|
||
|
//echo $this->config->item('option_theme');
|
||
|
|
||
|
echo $this->optionslib->get_option('theme');
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|