Hide session error messages to avoid FPD
Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
78bed3c444
commit
8095b837fa
@ -78,7 +78,7 @@ session_set_cookie_params(0, '/', '', true, true);
|
||||
/* Create signon session */
|
||||
$session_name = 'SignonSession';
|
||||
session_name($session_name);
|
||||
session_start();
|
||||
@session_start();
|
||||
|
||||
// Determine realm and return_to
|
||||
$base = 'http';
|
||||
|
||||
@ -18,7 +18,7 @@ $session_name = 'SignonSession';
|
||||
session_name($session_name);
|
||||
// Uncomment and change the following line to match your $cfg['SessionSavePath']
|
||||
//session_save_path('/foobar');
|
||||
session_start();
|
||||
@session_start();
|
||||
|
||||
/* Was data posted? */
|
||||
if (isset($_POST['user'])) {
|
||||
@ -31,7 +31,7 @@ if (isset($_POST['user'])) {
|
||||
$_SESSION['PMA_single_signon_cfgupdate'] = array('verbose' => 'Signon test');
|
||||
$id = session_id();
|
||||
/* Close that session */
|
||||
session_write_close();
|
||||
@session_write_close();
|
||||
/* Redirect to phpMyAdmin (should use absolute URL here!) */
|
||||
header('Location: ../index.php');
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user