mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-29 03:12:39 +03:00
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.
|
* In this page the user can manage all the customer records of the system.
|
||||||
*/
|
*/
|
||||||
public function customers() {
|
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;
|
if (!$this->hasPrivileges(PRIV_CUSTOMERS)) return;
|
||||||
|
|
||||||
$this->load->model('providers_model');
|
$this->load->model('providers_model');
|
||||||
|
@ -109,7 +109,7 @@ class Backend extends CI_Controller {
|
||||||
* from the backend services page.
|
* from the backend services page.
|
||||||
*/
|
*/
|
||||||
public function services() {
|
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;
|
if (!$this->hasPrivileges(PRIV_SERVICES)) return;
|
||||||
|
|
||||||
$this->load->model('customers_model');
|
$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.
|
* the page where the admin defines which service can each provider provide.
|
||||||
*/
|
*/
|
||||||
public function users() {
|
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;
|
if (!$this->hasPrivileges(PRIV_USERS)) return;
|
||||||
|
|
||||||
$this->load->model('providers_model');
|
$this->load->model('providers_model');
|
||||||
|
@ -172,7 +172,7 @@ class Backend extends CI_Controller {
|
||||||
* installation (core settings like company name, book timeout etc).
|
* installation (core settings like company name, book timeout etc).
|
||||||
*/
|
*/
|
||||||
public function settings() {
|
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)
|
if (!$this->hasPrivileges(PRIV_SYSTEM_SETTINGS, FALSE)
|
||||||
&& !$this->hasPrivileges(PRIV_USER_SETTINGS)) return;
|
&& !$this->hasPrivileges(PRIV_USER_SETTINGS)) return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue