Browse Source

Closes #143 Include modsForHesk_settings if it hasn't been included yet

merge-requests/2/head
Mike Koch 7 years ago
parent
commit
dbc5868f27
  1. 6
      inc/email_functions.inc.php

6
inc/email_functions.inc.php

@ -35,6 +35,12 @@
/* Check if this is a valid include */
if (!defined('IN_SCRIPT')) {die('Invalid attempt');}
// Include modsForHesk_settings.inc.php if it hasn't been included already
if ($modsForHesk_settings === NULL)
{
include(HESK_PATH . 'inc/modsForHesk_settings.inc.php');
}
/* Get includes for SMTP */
if ($hesk_settings['smtp'])
{

Loading…
Cancel
Save