From 1e79740420bbc91c2dec6df3cd465b1e290634d3 Mon Sep 17 00:00:00 2001 From: Johnathon Slightham <31053827+jslightham@users.noreply.github.com> Date: Wed, 22 Apr 2020 21:25:31 -0400 Subject: [PATCH] Update api.php --- EasyBans-Web/api/api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EasyBans-Web/api/api.php b/EasyBans-Web/api/api.php index 12ae737..5144f9c 100644 --- a/EasyBans-Web/api/api.php +++ b/EasyBans-Web/api/api.php @@ -2,7 +2,7 @@ define("key", KEY); // TODO: Make key customizable. function get_mysql(){ - $mysql = new MySQLi("remotemysql.com", "wptYz7NcqF", "62WcmjpDNu", "wptYz7NcqF"); + $mysql = new MySQLi("", "", "", ""); // login details removed if($mysql->connect_error){ die($mysql->connect_error); @@ -13,4 +13,4 @@ function add($uuid, $reason){ get_mysql()->query("INSERT INTO bans (uuid, date, reason) values ('$uuid', '" date("Y-M-D H:M:S") "', "); } -?> \ No newline at end of file +?>