diff --git a/main/auth/shibboleth/app/controller/shibboleth_controller.class.php b/main/auth/shibboleth/app/controller/shibboleth_controller.class.php index 00a2d35f50..6624e31f27 100644 --- a/main/auth/shibboleth/app/controller/shibboleth_controller.class.php +++ b/main/auth/shibboleth/app/controller/shibboleth_controller.class.php @@ -31,7 +31,7 @@ class ShibbolethController if (Shibboleth::session()->is_logged_in()) { - Shibboleth::redirect(); + Redirect::home(); } $user = Shibboleth::store()->get_user(); diff --git a/main/auth/shibboleth/app/view/shibboleth_display.class.php b/main/auth/shibboleth/app/view/shibboleth_display.class.php index 2ba00058cb..138e6f21dc 100644 --- a/main/auth/shibboleth/app/view/shibboleth_display.class.php +++ b/main/auth/shibboleth/app/view/shibboleth_display.class.php @@ -25,8 +25,6 @@ class ShibbolethDisplay public function error_page($message) { - $include_path = api_get_path(INCLUDE_PATH); - require("$include_path/local.inc.php"); $page_title = get_lang('page_title'); Display :: display_header($page_title); @@ -37,8 +35,6 @@ class ShibbolethDisplay public function message_page($message, $title = '') { - $include_path = api_get_path(INCLUDE_PATH); - require("$include_path/local.inc.php"); $title = $title ? $title : get_lang('page_title'); Display :: display_header($title); @@ -49,8 +45,6 @@ class ShibbolethDisplay public function page($content, $title = '') { - $include_path = api_get_path(INCLUDE_PATH); - require("$include_path/local.inc.php"); $title = $title ? $title : get_lang('page_title'); Display :: display_header($title);