diff --git a/examples/openid.php b/examples/openid.php index 67585c2e53..0db0a466b8 100644 --- a/examples/openid.php +++ b/examples/openid.php @@ -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'; diff --git a/examples/signon.php b/examples/signon.php index 4463c38707..da9fadfabc 100644 --- a/examples/signon.php +++ b/examples/signon.php @@ -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 {