Skip to content
Snippets Groups Projects
Commit ef795ae2 authored by Olav Morken's avatar Olav Morken
Browse files

admin/phpinfo.php: Cleanups.

- No need to catch exceptions here, since _include.php installs a
  default exception handler.
- The $config and $session variables are unused.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2468 44740490-163a-0410-bde0-09ae8108e29a
parent a4347c94
No related branches found
No related tags found
No related merge requests found
...@@ -2,17 +2,7 @@ ...@@ -2,17 +2,7 @@
require_once('../_include.php'); require_once('../_include.php');
try { /* Make sure that the user has admin access rights. */
SimpleSAML_Utilities::requireAdmin();
$config = SimpleSAML_Configuration::getInstance(); phpinfo();
$session = SimpleSAML_Session::getInstance();
/* Make sure that the user has admin access rights. */
SimpleSAML_Utilities::requireAdmin();
phpinfo();
} catch(Exception $e) {
SimpleSAML_Utilities::fatalError('na', NULL, $e);
}
?>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment