aboutsummaryrefslogtreecommitdiffstats
path: root/databaseauthenticate.php
blob: 204d09bdcff6598f705b2ec73233c7284e7014cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
<?php
require_once("settings.php");
$dbpassword = isset($_POST["dbpassword"]) ? $_POST["dbpassword"] : $_GET["dbpassword"];
if($dbpassword != DATABASE_PASSWORD)
{
    $databaseLogin = true;
    header("HTTP/1.1 403 Incorrect Username and/or Password");
    require_once("login.php");
    exit;
}
?>