removed leading tabs

This commit is contained in:
Marc Delisle
2006-08-27 11:46:12 +00:00
parent 1c29f46667
commit 3c559a0210

View File

@@ -10,24 +10,24 @@
/* Was data posted? */ /* Was data posted? */
if (isset($_POST['user'])) { if (isset($_POST['user'])) {
/* Need to have cookie visible from parent directory */ /* Need to have cookie visible from parent directory */
session_set_cookie_params(0, '/', '', 0); session_set_cookie_params(0, '/', '', 0);
/* Create signon session */ /* Create signon session */
$session_name = 'SignonSession'; $session_name = 'SignonSession';
session_name($session_name); session_name($session_name);
session_start(); session_start();
/* Store there credentials */ /* Store there credentials */
$_SESSION['PMA_single_signon_user'] = $_POST['user']; $_SESSION['PMA_single_signon_user'] = $_POST['user'];
$_SESSION['PMA_single_signon_password'] = $_POST['password']; $_SESSION['PMA_single_signon_password'] = $_POST['password'];
$id = session_id(); $id = session_id();
/* Close that session */ /* Close that session */
session_write_close(); session_write_close();
/* Redirect to phpMyAdmin (should use absolute URL here!) */ /* Redirect to phpMyAdmin (should use absolute URL here!) */
header('Location: ../index.php'); header('Location: ../index.php');
} else { } else {
/* Show simple form */ /* Show simple form */
header('Content-Type: text/html; charset=utf-8'); header('Content-Type: text/html; charset=utf-8');
echo '<?xml version="1.0" encoding="utf-8"?>' . "\n"; echo '<?xml version="1.0" encoding="utf-8"?>' . "\n";
?> ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">