mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-23 16:32:45 +00:00
18 lines
405 B
PHP
18 lines
405 B
PHP
<?php
|
|
$dbhost = 'localhost';
|
|
$dbuser = 'root';
|
|
$dbpass = 'password';
|
|
$conn = mysql_connect($dbhost, $dbuser, $dbpass);
|
|
|
|
$table_prefix = "";
|
|
$table_bans = $table_prefix . "bans";
|
|
$table_mutes = $table_prefix . "mutes";
|
|
$table_warnings = $table_prefix . "warnings";
|
|
$table_history = $table_prefix . "history";
|
|
|
|
if (!$conn) {
|
|
die('Could not connect: ' . mysql_error());
|
|
}
|
|
|
|
mysql_select_db('litebans');
|
|
?>
|