@@ -96,7 +96,7 @@ |
||
96 | 96 | $route['ajax/hide_notice']['post'] = 'Ajax/TrackerInline/hide_notice'; |
97 | 97 | $route['ajax/set_mal_id']['post'] = 'Ajax/TrackerInline/set_mal_id'; |
98 | 98 | |
99 | -$route['export_list'] = 'Ajax/TrackerInline/export'; |
|
99 | +$route['export_list'] = 'Ajax/TrackerInline/export'; |
|
100 | 100 | //$route['import_list']['post'] = 'Ajax/TrackerInline/import'; |
101 | 101 | |
102 | 102 | $route['import_amr'] = 'Import_AMR'; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
2 | 2 | |
3 | 3 | class Dashboard extends User_Controller { |
4 | 4 | public function __construct() { |
@@ -46,7 +46,8 @@ |
||
46 | 46 | $this->session->keep_flashdata('referred_from'); |
47 | 47 | if($prevURL = $this->session->flashdata('referred_from')) { |
48 | 48 | redirect($prevURL); |
49 | - } else { //@codeCoverageIgnore |
|
49 | + } else { |
|
50 | +//@codeCoverageIgnore |
|
50 | 51 | redirect('/user/dashboard', 'refresh'); |
51 | 52 | } //@codeCoverageIgnore |
52 | 53 | } else { |
@@ -9,7 +9,9 @@ |
||
9 | 9 | $this->header_data['title'] = 'Index'; |
10 | 10 | $this->header_data['page'] = 'index'; |
11 | 11 | |
12 | - if($this->User->logged_in()) redirect('user/dashboard'); |
|
12 | + if($this->User->logged_in()) { |
|
13 | + redirect('user/dashboard'); |
|
14 | + } |
|
13 | 15 | $this->_render_page('FrontPage'); |
14 | 16 | } |
15 | 17 | } |
@@ -1,4 +1,4 @@ |
||
1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
2 | 2 | |
3 | 3 | class FrontPage extends User_Controller { |
4 | 4 | public function __construct() { |