Closes #143 Include modsForHesk_settings if it hasn't been included yet
This commit is contained in:
parent
e39553a8d7
commit
dbc5868f27
@ -35,6 +35,12 @@
|
|||||||
/* Check if this is a valid include */
|
/* Check if this is a valid include */
|
||||||
if (!defined('IN_SCRIPT')) {die('Invalid attempt');}
|
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 */
|
/* Get includes for SMTP */
|
||||||
if ($hesk_settings['smtp'])
|
if ($hesk_settings['smtp'])
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user