From 3c559a0210e422a5b5f23228b9bd11241f2fac07 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 27 Aug 2006 11:46:12 +0000 Subject: [PATCH] removed leading tabs --- scripts/signon.php | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/scripts/signon.php b/scripts/signon.php index c9f299ae0..c9344e9ee 100644 --- a/scripts/signon.php +++ b/scripts/signon.php @@ -10,24 +10,24 @@ /* Was data posted? */ if (isset($_POST['user'])) { - /* Need to have cookie visible from parent directory */ - session_set_cookie_params(0, '/', '', 0); - /* Create signon session */ - $session_name = 'SignonSession'; + /* Need to have cookie visible from parent directory */ + session_set_cookie_params(0, '/', '', 0); + /* Create signon session */ + $session_name = 'SignonSession'; session_name($session_name); - session_start(); - /* Store there credentials */ - $_SESSION['PMA_single_signon_user'] = $_POST['user']; - $_SESSION['PMA_single_signon_password'] = $_POST['password']; - $id = session_id(); - /* Close that session */ - session_write_close(); - /* Redirect to phpMyAdmin (should use absolute URL here!) */ - header('Location: ../index.php'); + session_start(); + /* Store there credentials */ + $_SESSION['PMA_single_signon_user'] = $_POST['user']; + $_SESSION['PMA_single_signon_password'] = $_POST['password']; + $id = session_id(); + /* Close that session */ + session_write_close(); + /* Redirect to phpMyAdmin (should use absolute URL here!) */ + header('Location: ../index.php'); } else { - /* Show simple form */ - header('Content-Type: text/html; charset=utf-8'); - echo '' . "\n"; + /* Show simple form */ + header('Content-Type: text/html; charset=utf-8'); + echo '' . "\n"; ?>