MY_Controller   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 2
dl 0
loc 13
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 10 2
1
<?php
2
3
/**
4
 * @property CI_Output $output
5
 */
6
class MY_Controller extends CI_Controller
7
{
8
	public function __construct()
9
	{
10
		parent::__construct();
11
		
12
		$this->output->set_header('Content-Type: text/html; charset=UTF-8');
13
		
14
		if (ENVIRONMENT === 'development') {
15
			$this->output->enable_profiler(TRUE);
16
		}
17
	}
18
}
19