mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2026-06-01 21:54:48 -04:00
Merge pull request #2 from thnilsen/subscription2_dev
Fix bug notifications not being sent.
This commit is contained in:
+5
-4
@@ -23,7 +23,7 @@ session_start();
|
||||
//Start editing here
|
||||
define("NAME", "##name##"); //Website name
|
||||
define("TITLE", "##title##");
|
||||
define("WEB_URL", "##url##"); //Used for links
|
||||
define("WEB_URL", "##url##"); //Used for links
|
||||
define("MAILER_NAME", "##mailer##"); //Mailer name
|
||||
define("MAILER_ADDRESS", "##mailer_email##"); //Mailer address
|
||||
define("POLICY_NAME", "##policy_name##"); //name for contact in policy
|
||||
@@ -34,7 +34,7 @@ define("WHO_WE_ARE","##who_we_are##");
|
||||
define("POLICY_URL","##policy_url##");
|
||||
define('SUBSCRIBE_EMAIL', true);
|
||||
define('SUBSCRIBE_TELEGRAM', false);
|
||||
define("TG_BOT_API_TOKEN", "##tg_bot_token##"); //Telegram Bot Token
|
||||
define("TG_BOT_API_TOKEN", "##tg_bot_token##"); //Telegram Bot Token
|
||||
define("TG_BOT_USERNAME", "##tg_bot_username##"); //Telegram Bot username
|
||||
define("INSTALL_OVERRIDE", false);
|
||||
define("DEFAULT_LANGUAGE", "en_GB");
|
||||
@@ -46,11 +46,12 @@ define("PHP_MAILER_PATH", "##phpmailer_path##"); // Path to src folder of PHPMai
|
||||
define("PHP_MAILER_SMTP", false); // Set to true if we are to use SMTP
|
||||
define("PHP_MAILER_HOST", "##phpmailer_host##"); // SMTP host
|
||||
define("PHP_MAILER_PORT", "##phpmailer_port##"); // SMTP Port
|
||||
define("PHP_MAILER_SECURE", ""); // Set to TLS or SSL or leave blank for plaintext
|
||||
define("PHP_MAILER_SECURE", ""); // Set to TLS or SSL or leave blank for plaintext
|
||||
define("PHP_MAILER_USER", "##phpmailer_user##"); // SMTP Authentication user
|
||||
define("PHP_MAILER_PASS", "##phpmailer_pass##"); // SMTP authenticatin password
|
||||
define("CUSTOM_LOGO_URL",""); // This will use the default logo if left empty
|
||||
define("COPYRIGHT_TEXT",""); // Leave this empty if you don't want your copyright displayed
|
||||
define("CRON_SERVER_IP",""); // IP Address that will be used to call cron task. Leave empty if not used!
|
||||
// Without COPYRIGHT_TEXT Set
|
||||
// 2020 Server Status Project Contributors
|
||||
// With COPYRIGHT_TEXT Set
|
||||
@@ -71,7 +72,7 @@ putenv('LANGUAGE='.$_SESSION['locale'].'.UTF-8');
|
||||
setlocale(LC_ALL, $_SESSION['locale'].".UTF-8");
|
||||
setlocale(LC_MESSAGES, $_SESSION['locale'].".UTF-8");
|
||||
bindtextdomain("server-status", __DIR__ . "/locale/");
|
||||
bind_textdomain_codeset("server-status", "utf-8");
|
||||
bind_textdomain_codeset("server-status", "utf-8");
|
||||
textdomain("server-status");
|
||||
|
||||
//Database connection
|
||||
|
||||
Reference in New Issue
Block a user