Fixing PHPCI so that it'll work in a subdirectory.
This commit is contained in:
parent
b9415316d4
commit
f256db237b
14 changed files with 66 additions and 53 deletions
|
|
@ -76,7 +76,7 @@ class UserController extends b8\Controller
|
|||
|
||||
$user = $this->_userStore->save($user);
|
||||
|
||||
header('Location: /user');
|
||||
header('Location: '.PHPCI_URL.'user');
|
||||
die;
|
||||
}
|
||||
|
||||
|
|
@ -120,7 +120,7 @@ class UserController extends b8\Controller
|
|||
$user->setValues($values);
|
||||
$user = $this->_userStore->save($user);
|
||||
|
||||
header('Location: /user');
|
||||
header('Location: '.PHPCI_URL.'user');
|
||||
die;
|
||||
}
|
||||
|
||||
|
|
@ -179,7 +179,7 @@ class UserController extends b8\Controller
|
|||
$user = $this->_userStore->getById($userId);
|
||||
$this->_userStore->delete($user);
|
||||
|
||||
header('Location: /user');
|
||||
header('Location: '.PHPCI_URL.'user');
|
||||
die;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue