diff --git a/src/application/controllers/test.php b/src/application/controllers/test.php index db827ee9..aa3159a5 100644 --- a/src/application/controllers/test.php +++ b/src/application/controllers/test.php @@ -18,9 +18,9 @@ class Test extends CI_Controller { public function index() { // User must be logged in as an admin in order to run the tests. $this->load->library('session'); - $this->session->set_userdata('dest_url', $this->config->item('base_url') . '/test'); + $this->session->set_userdata('dest_url', $this->config->item('base_url') . '/index.php/test'); if ($this->session->userdata('role_slug') != DB_SLUG_ADMIN) { - header('Location: ' . $this->config->item('base_url') . '/user/login'); + header('Location: ' . $this->config->item('base_url') . '/index.php/user/login'); return; }