mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2024-11-27 06:38:40 -05:00
Get data from the db
This commit is contained in:
parent
b6ed71bdb7
commit
5527740bee
@ -6,7 +6,13 @@ require_once("classes/subscriber.php");
|
||||
require_once("classes/subscriptions.php");
|
||||
require_once("classes/mailer.php");
|
||||
//require_once("libs/php_idn/idna.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"));
|
||||
$mailer = new Mailer();
|
||||
$subscriber = new Subscriber();
|
||||
$subscription = new Subscriptions();
|
||||
|
Loading…
Reference in New Issue
Block a user