Update database.php

This commit is contained in:
Ruan 2015-02-28 17:41:38 +02:00
parent 015618bdb7
commit f933641a8d

View File

@ -1,8 +1,15 @@
<?php <?php
// Server host
$dbhost = 'localhost'; $dbhost = 'localhost';
$dbuser = 'root';
$dbpass = 'password'; // Username/password
$conn = new mysqli($dbhost, $dbuser, $dbpass, 'litebans'); $username = 'root';
$password = 'password';
// Database name
$database = 'litebans';
$conn = new mysqli($dbhost, $username, $password, $database);
$table_prefix = ""; $table_prefix = "";
$table_bans = $table_prefix . "bans"; $table_bans = $table_prefix . "bans";