Completed
Push — master ( 3b33a7...03df00 )
by Anu
02:48
created

ErrorController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 8 1
1
<?php
2
3
namespace App\Core\Controllers;
4
5
use Controller;
6
7
class ErrorController extends Controller {
8
	public function init() {
9
		/*switch(f3()->get('ERROR.code')) {
10
			case 401:
11
				break;
12
			default :
13
				template('error');
14
		}*/
15
		template('error');
16
	}
17
}