Fixed forgotten backend controller urls.
This commit is contained in:
parent
8975eb5c59
commit
a6ab065491
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue