|
@@ -263,7 +263,11 @@ class Handler_Public extends Handler {
|
|
|
|
|
|
function logout() {
|
|
|
logout_user();
|
|
|
- header("Location: index.php");
|
|
|
+ $location = 'index.php';
|
|
|
+ if(defined('LOGOUT_LOCATION')) {
|
|
|
+ $location = LOGOUT_LOCATION;
|
|
|
+ }
|
|
|
+ header("Location: $location");
|
|
|
}
|
|
|
|
|
|
function share() {
|