Fixed URLs with index.php value (work without mod_rewrite)

This commit is contained in:
alextselegidis 2015-05-20 23:19:52 +02:00
parent 845288e17d
commit 8975eb5c59

View file

@ -186,22 +186,22 @@ class Backend_api extends CI_Controller {
if (!$manage_mode) { if (!$manage_mode) {
$customer_title = $this->lang->line('appointment_booked'); $customer_title = $this->lang->line('appointment_booked');
$customer_message = $this->lang->line('thank_your_for_appointment'); $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']; . $appointment['hash'];
$provider_title = $this->lang->line('appointment_added_to_your_plan'); $provider_title = $this->lang->line('appointment_added_to_your_plan');
$provider_message = $this->lang->line('appointment_link_description'); $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']; . $appointment['hash'];
} else { } else {
$customer_title = $this->lang->line('appointment_changes_saved'); $customer_title = $this->lang->line('appointment_changes_saved');
$customer_message = ''; $customer_message = '';
$customer_link = $this->config->item('base_url') . '/appointments/index/' $customer_link = $this->config->item('base_url') . '/index.php/appointments/index/'
. $appointment['hash']; . $appointment['hash'];
$provider_title = $this->lang->line('appointment_details_changed'); $provider_title = $this->lang->line('appointment_details_changed');
$provider_message = ''; $provider_message = '';
$provider_link = $this->config->item('base_url') . '/backend/index/' $provider_link = $this->config->item('base_url') . '/index.php/backend/index/'
. $appointment['hash']; . $appointment['hash'];
} }