From 5349694828b874ba196e1bff4577d186f0969655 Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Fri, 27 Oct 2017 19:49:54 +1100 Subject: [PATCH] Fixed if syntax --- app/config/core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config/core.php b/app/config/core.php index 514f1361..16832dba 100644 --- a/app/config/core.php +++ b/app/config/core.php @@ -60,7 +60,7 @@ Configure::write('smtp_settings', array( $production_hosts = array('cmc.lan', '192.168.0.7', 'cmcbeta.lan', 'office.cmctechnologies.com.au'); -if in_array($host, $production_hosts) { +if (in_array($host, $production_hosts)) { $basedir = '/var/www/CMC-Sales/app'; Configure::write('email_directory', '/var/www/emails');