From 8975eb5c59d68847f58e75c957504f65ce35dd6f Mon Sep 17 00:00:00 2001 From: alextselegidis Date: Wed, 20 May 2015 23:19:52 +0200 Subject: [PATCH] Fixed URLs with index.php value (work without mod_rewrite) --- src/application/controllers/backend_api.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/application/controllers/backend_api.php b/src/application/controllers/backend_api.php index 04faa95d..60d58d49 100644 --- a/src/application/controllers/backend_api.php +++ b/src/application/controllers/backend_api.php @@ -186,22 +186,22 @@ class Backend_api extends CI_Controller { if (!$manage_mode) { $customer_title = $this->lang->line('appointment_booked'); $customer_message = $this->lang->line('thank_your_for_appointment'); - $customer_link = $this->config->item('base_url') . '/appointments/index/' + $customer_link = $this->config->item('base_url') . '/index.php/appointments/index/' . $appointment['hash']; $provider_title = $this->lang->line('appointment_added_to_your_plan'); $provider_message = $this->lang->line('appointment_link_description'); - $provider_link = $this->config->item('base_url') . '/backend/index/' + $provider_link = $this->config->item('base_url') . '/index.php/backend/index/' . $appointment['hash']; } else { $customer_title = $this->lang->line('appointment_changes_saved'); $customer_message = ''; - $customer_link = $this->config->item('base_url') . '/appointments/index/' + $customer_link = $this->config->item('base_url') . '/index.php/appointments/index/' . $appointment['hash']; $provider_title = $this->lang->line('appointment_details_changed'); $provider_message = ''; - $provider_link = $this->config->item('base_url') . '/backend/index/' + $provider_link = $this->config->item('base_url') . '/index.php/backend/index/' . $appointment['hash']; }