Skip to content
Snippets Groups Projects
Commit 4a74ec6a authored by llaffont's avatar llaffont Committed by gloas
Browse files

Cosmogramme: fix redirection url at login

parent 24fe5711
Branches
Tags
2 merge requests!258Dev/13872 Orphee Allow Hold Available Items,!4dev#12091 Moulins portail jeunesse
......@@ -55,7 +55,8 @@ function getClefSecurite()
// Redirection en javascript
function redirection( $url )
{
if(strleft($url,4) != "http") $url=URL_BASE."php/".$url;
if ((0!== strpos($url, URL_BASE)) && (strleft($url,4) != "http"))
$url=URL_BASE."php/".$url;
print("<script>");
print("document.location='".$url."'");
print("</script>");
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment