From 1793dd2eae8358d528dcf03ee065b291be7bbd34 Mon Sep 17 00:00:00 2001 From: alextselegidis Date: Wed, 20 May 2015 23:00:05 +0200 Subject: [PATCH] Updated appointment email links (work without mod_rewrite) --- src/application/controllers/appointments.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/application/controllers/appointments.php b/src/application/controllers/appointments.php index e65a1d63..d559fc13 100644 --- a/src/application/controllers/appointments.php +++ b/src/application/controllers/appointments.php @@ -160,22 +160,22 @@ class Appointments extends CI_Controller { if (!$post_data['manage_mode']) { $customer_title = $this->lang->line('appointment_booked'); $customer_message = $this->lang->line('thank_you_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']; }