diff --git a/blomzt/config.ini b/blomzt/config.ini new file mode 100644 index 0000000..576f209 --- /dev/null +++ b/blomzt/config.ini @@ -0,0 +1,4 @@ +[database] +db_host = localhost +db_user = root +db_password = \ No newline at end of file diff --git a/blomzt/config.php b/blomzt/config.php deleted file mode 100644 index 20221d9..0000000 --- a/blomzt/config.php +++ /dev/null @@ -1,7 +0,0 @@ - 'localhost' - 'db_username' => 'root' - 'db_password' => 'password' -); \ No newline at end of file diff --git a/blomzt/main.php b/blomzt/main.php index f3c10b3..159398d 100644 --- a/blomzt/main.php +++ b/blomzt/main.php @@ -1,6 +1,14 @@ connect_error) { + die("Connection failed: " . $conn->connect_error); +} + + ?> @@ -8,17 +16,9 @@ $config = include('config.php'); - CSGO skin database + Blomzt - connect_error) { - die("Connection failed: " . $conn->connect_error); - } - - echo "Connection succeded"; - ?> \ No newline at end of file