Chaging the php structure, the old one didn't work

This commit is contained in:
Tristan Roux
2019-03-31 14:30:36 +02:00
parent d172a3d8b0
commit 40aec862bb
+2 -2
View File
@@ -10,6 +10,8 @@
{ {
echo("<script>window.close();</script>"); echo("<script>window.close();</script>");
} }
elseif($openid->validate())
{
?> ?>
<!DOCTYPE HTML> <!DOCTYPE HTML>
<html> <html>
@@ -21,8 +23,6 @@
</body> </body>
</html> </html>
<?php <?php
elseif($openid->validate())
{
echo("<script>var a = document.getElementById('appOpen'); a.href = 'eau://steam-" . $openid->identity . "'</script>"); echo("<script>var a = document.getElementById('appOpen'); a.href = 'eau://steam-" . $openid->identity . "'</script>");
} }
?> ?>