mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2024-11-23 12:48:39 -05:00
Get info from the db!
This commit is contained in:
parent
349aa0e195
commit
b6ed71bdb7
@ -4,7 +4,13 @@ require_once("template.php");
|
||||
require_once("classes/constellation.php");
|
||||
require_once("classes/subscriptions.php");
|
||||
require_once("classes/telegram.php");
|
||||
|
||||
require_once("classes/db-class.php");
|
||||
$db = new SSDB();
|
||||
define("NAME", $db->getSetting($mysqli,"name"));
|
||||
define("TITLE", $db->getSetting($mysqli,"title"));
|
||||
define("WEB_URL", $db->getSetting($mysqli,"url"));
|
||||
define("MAILER_NAME", $db->getSetting($mysqli,"mailer"));
|
||||
define("MAILER_ADDRESS", $db->getSetting($mysqli,"mailer_email"));
|
||||
$subscription = new Subscriptions();
|
||||
$telegram = new Telegram();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user