From: quix0r Date: Mon, 28 Jun 2010 08:04:48 +0000 (+0000) Subject: Fixes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e82858e86b181b3e896b9cb99fb7ce26d466efa5;p=mailer.git Fixes --- diff --git a/inc/functions.php b/inc/functions.php index ad3b1e5f55..476927420c 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -270,7 +270,7 @@ function loadTemplate ($template, $return = false, $content = array()) { global $DATA; // Do we have cache? - if (isTemplateCached($template)) { + if ((isDebuggingTemplateCache() === false) && (isTemplateCached($template))) { // Evaluate the cache eval(readTemplateCache($template)); } elseif (!isset($GLOBALS['template_eval'][$template])) { diff --git a/inc/install-inc.php b/inc/install-inc.php index 137257c89e..17c0c0c633 100644 --- a/inc/install-inc.php +++ b/inc/install-inc.php @@ -131,7 +131,7 @@ if ((!isInstalled()) || (!isAdminRegistered())) { $content['email'] = postRequestParameter('email'); // Use default SMTP data - $smtpHost = '{?SMTP_HOSTNAME'); + $smtpHost = '{?SMTP_HOSTNAME?}'; $smtpUser = '{?SMTP_USER?}'; $smtpPass1 = '{?SMTP_PASSWORD?}'; $smtpPass2 = '{?SMTP_PASSWORD?}';