Permalink
Browse files

Update logout.php

  • Loading branch information...
eberhardtm committed Apr 5, 2017
1 parent b81b304 commit 4dc261a8b103196dde20048bce8badc51a2028df
Showing with 1 addition and 1 deletion.
  1. +1 −1 secure/logout.php
View
@@ -10,7 +10,7 @@
$shiblocallogout = 'https://' . $_SERVER['HTTP_HOST'] . '/Shibboleth.sso/Logout';
// Our destination, however, not necessarily so figure it out
-$parts = explode('/', $_SERVER['SCRIPT_URL']);
+$parts = explode('/', $_SERVER['SCRIPT_NAME']);
while(array_pop($parts) != 'secure');
$destination = 'http://' . $_SERVER['HTTP_HOST'] . implode('/', $parts);

0 comments on commit 4dc261a

Please sign in to comment.