mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-25 17:33:19 +03:00
Fixed URLs with index.php value (work without mod_rewrite)
This commit is contained in:
parent
3062e73d22
commit
845288e17d
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ class User extends CI_Controller {
|
|||
}
|
||||
|
||||
public function index() {
|
||||
header('Location: ' . $this->config->item('base_url') . '/user/login');
|
||||
header('Location: ' . $this->config->item('base_url') . '/index.php/user/login');
|
||||
}
|
||||
|
||||
public function login() {
|
||||
|
@ -25,7 +25,7 @@ class User extends CI_Controller {
|
|||
$view['dest_url'] = $this->session->userdata('dest_url');
|
||||
|
||||
if (!$view['dest_url']) {
|
||||
$view['dest_url'] = $view['base_url'] . '/backend';
|
||||
$view['dest_url'] = $view['base_url'] . '/index.php/backend';
|
||||
}
|
||||
|
||||
$view['company_name'] = $this->settings_model->get_setting('company_name');
|
||||
|
|
Loading…
Reference in a new issue