From a6ab06549119da1c5e4891beb1d83f6707633ac2 Mon Sep 17 00:00:00 2001 From: alextselegidis Date: Wed, 20 May 2015 23:21:02 +0200 Subject: [PATCH] Fixed forgotten backend controller urls. --- src/application/controllers/backend.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/application/controllers/backend.php b/src/application/controllers/backend.php index 3048c5be..ca40996f 100644 --- a/src/application/controllers/backend.php +++ b/src/application/controllers/backend.php @@ -76,7 +76,7 @@ class Backend extends CI_Controller { * In this page the user can manage all the customer records of the system. */ public function customers() { - $this->session->set_userdata('dest_url', $this->config->item('base_url') . '/backend/customers'); + $this->session->set_userdata('dest_url', $this->config->item('base_url') . '/index.php/backend/customers'); if (!$this->hasPrivileges(PRIV_CUSTOMERS)) return; $this->load->model('providers_model'); @@ -109,7 +109,7 @@ class Backend extends CI_Controller { * from the backend services page. */ public function services() { - $this->session->set_userdata('dest_url', $this->config->item('base_url') . '/backend/services'); + $this->session->set_userdata('dest_url', $this->config->item('base_url') . '/index.php/backend/services'); if (!$this->hasPrivileges(PRIV_SERVICES)) return; $this->load->model('customers_model'); @@ -138,7 +138,7 @@ class Backend extends CI_Controller { * the page where the admin defines which service can each provider provide. */ public function users() { - $this->session->set_userdata('dest_url', $this->config->item('base_url') . '/backend/users'); + $this->session->set_userdata('dest_url', $this->config->item('base_url') . '/index.php/backend/users'); if (!$this->hasPrivileges(PRIV_USERS)) return; $this->load->model('providers_model'); @@ -172,7 +172,7 @@ class Backend extends CI_Controller { * installation (core settings like company name, book timeout etc). */ public function settings() { - $this->session->set_userdata('dest_url', $this->config->item('base_url') . '/backend/settings'); + $this->session->set_userdata('dest_url', $this->config->item('base_url') . '/index.php/backend/settings'); if (!$this->hasPrivileges(PRIV_SYSTEM_SETTINGS, FALSE) && !$this->hasPrivileges(PRIV_USER_SETTINGS)) return;