Skip to content

Commit

Permalink
Hide session error messages to avoid FPD
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Jul 12, 2016
1 parent e9a4de7 commit 41684ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/openid.php
Expand Up @@ -76,7 +76,7 @@ function die_error($e)
/* Create signon session */
$session_name = 'SignonSession';
session_name($session_name);
session_start();
@session_start();

// Determine realm and return_to
$base = 'http';
Expand Down
4 changes: 2 additions & 2 deletions examples/signon.php
Expand Up @@ -16,7 +16,7 @@
/* Create signon session */
$session_name = 'SignonSession';
session_name($session_name);
session_start();
@session_start();

/* Was data posted? */
if (isset($_POST['user'])) {
Expand All @@ -29,7 +29,7 @@
$_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 {
Expand Down

0 comments on commit 41684ff

Please sign in to comment.