removing secrets
This commit is contained in:
@@ -1,15 +1,14 @@
|
|||||||
<?php
|
<?php
|
||||||
define('DB_SERVER', 'localhost');
|
define('DB_SERVER', '');
|
||||||
define('DB_USERNAME', 'root');
|
define('DB_USERNAME', '');
|
||||||
define('DB_PASSWORD', '1234');
|
define('DB_PASSWORD', '');
|
||||||
define('DB_NAME', 'system0');
|
define('DB_NAME', '');
|
||||||
$api=""; //the telegram api key for jakach notification system
|
$api=""; //the telegram api key for jakach notification system
|
||||||
$SENDGRID_API_KEY=""; //our new api key, for the new mail address
|
$SENDGRID_API_KEY=""; //our new api key, for the new mail address
|
||||||
$sendgrid_email=""; //our new email
|
$sendgrid_email=""; //our new email
|
||||||
$chat_id=""; //chat id of the admin => janis steiner
|
$chat_id=""; //chat id of the admin => janis steiner
|
||||||
/* Attempt to connect to MySQL database */
|
/* Attempt to connect to MySQL database */
|
||||||
$link = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD, DB_NAME);
|
$link = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD, DB_NAME);
|
||||||
|
|
||||||
// Check connection
|
// Check connection
|
||||||
if($link === false){
|
if($link === false){
|
||||||
die("ERROR: Could not connect. " . mysqli_connect_error());
|
die("ERROR: Could not connect. " . mysqli_connect_error());
|
||||||
|
|||||||
Reference in New Issue
Block a user