@@ -1,12 +1,12 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Part of CI PHPUnit Test |
|
4 | - * |
|
5 | - * @author Kenji Suzuki <https://github.com/kenjis> |
|
6 | - * @license MIT License |
|
7 | - * @copyright 2015 Kenji Suzuki |
|
8 | - * @link https://github.com/kenjis/ci-phpunit-test |
|
9 | - */ |
|
3 | + * Part of CI PHPUnit Test |
|
4 | + * |
|
5 | + * @author Kenji Suzuki <https://github.com/kenjis> |
|
6 | + * @license MIT License |
|
7 | + * @copyright 2015 Kenji Suzuki |
|
8 | + * @link https://github.com/kenjis/ci-phpunit-test |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | class CIPHPUnitTestRouter |
12 | 12 | { |
@@ -56,12 +56,12 @@ discard block |
||
56 | 56 | if ($e404) |
57 | 57 | { |
58 | 58 | // If 404, CodeIgniter instance is not created yet. So create it here. |
59 | - // Because we need $this->CI->output->_status |
|
60 | - $CI =& get_instance(); |
|
61 | - if ($CI === null) |
|
62 | - { |
|
63 | - new CI_Controller(); |
|
64 | - } |
|
59 | + // Because we need $this->CI->output->_status |
|
60 | + $CI =& get_instance(); |
|
61 | + if ($CI === null) |
|
62 | + { |
|
63 | + new CI_Controller(); |
|
64 | + } |
|
65 | 65 | |
66 | 66 | show_404($RTR->directory.$class.'/'.$method.' is not found'); |
67 | 67 | } |