adminerevo/editor/include/auth.inc.php
jakubvrana 8a10611f8c Use auth_error
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@792 7c3ca157-0c34-0410-bff1-cbf682f78f5c
2009-07-03 09:28:30 +00:00

12 lines
220 B
PHP

<?php
function auth_error($exception = null) {
page_header(lang('Login'), htmlspecialchars(lang('Invalid credentials.'), null));
page_footer("auth");
}
$dbh = connect();
if (is_string($dbh)) {
auth_error();
exit;
}