Affectation dynamique de l'URL du serveur pour s'authentifier sur le serveur de dev

This commit is contained in:
Michael RICOIS 2009-02-17 15:49:49 +00:00
parent 6e6b161c5a
commit 5adfa84919

View File

@ -1,12 +1,7 @@
<?php
/*
*
*
*
*/
if (isset($_REQUEST['login']) && isset($_REQUEST['pass'])){
header('Location: http://extranet.devlocal.com/index.php?page=main&lang=fr&secure=8f66c76ce72b8f45dadfe49fd5db90e0&action=logon&login='.$_REQUEST['login'].'&pass='.$_REQUEST['pass'].'&hach='.$_REQUEST['hach']);
header('Location: http://'.$_SERVER['REMOTE_HOST'].'/?page=main&lang=fr&secure=8f66c76ce72b8f45dadfe49fd5db90e0&action=logon&login='.$_REQUEST['login'].'&pass='.$_REQUEST['pass'].'&hach='.$_REQUEST['hach']);
exit;
}