1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-21 05:41:58 +02:00

Fix for signup template constants under CLI (scheduled task)

This commit is contained in:
Cameron
2015-05-16 23:59:43 -07:00
parent bb69e95346
commit 686c7187ff
3 changed files with 12 additions and 5 deletions

View File

@@ -38,6 +38,7 @@ See e_HANDLER.mail.php for more information
if (!defined('e107_INIT')) { exit; }
$includeSiteButton = e107::getPref('sitebutton');
e107::lan('core','signup'); // required for when mailer runs under CLI.
/*
$SIGNUPEMAIL_SUBJECT = LAN_SIGNUP_96.' {SITENAME}';
@@ -181,8 +182,8 @@ $EMAIL_TEMPLATE['signup']['footer'] = "</div>
$EMAIL_TEMPLATE['signup']['cc'] = "";
$EMAIL_TEMPLATE['signup']['bcc'] = "";
$EMAIL_TEMPLATE['signup']['attachments'] = "";
$EMAIL_TEMPLATE['signup']['include'] = "{e_LANGUAGEDIR}{e_LANGUAGE}/lan_signup.php";
//TODO FIXME {SITEBUTTON} not working at the moment. (broken path)
// -----------------------------