diff --git a/app/config/core.php b/app/config/core.php index dc902c55..6d5eaad3 100644 --- a/app/config/core.php +++ b/app/config/core.php @@ -46,6 +46,16 @@ Configure::write('version', '1.0.0'); $host = $_SERVER['HTTP_HOST']; +Configure::write('smtp_settings', array( + 'port' => '25', + 'timeout' => '30', + 'host' => 'mail.cmctechnologies.com.au', + 'username' => 'sales', + 'password' => 'se11111CMC2seng33+02')); + + + + //Production Config if($host == 'cmc.lan' || $host == '192.168.0.7') { @@ -53,14 +63,6 @@ if($host == 'cmc.lan' || $host == '192.168.0.7') { Configure::write('email_directory', '/var/www/cakephp/app/emails'); - Configure::write('smtp_settings', array( - 'port' => '25', - 'timeout' => '30', - 'host' => '192.168.0.14', - 'username' => 'sales', - 'password' => '2seng33+02')); - - Cache::config('default', array( 'engine' => 'Apc', //[required] 'duration'=> 3600, //[optional] @@ -85,16 +87,6 @@ else { //Development config - Configure::write('smtp_settings', array( - 'port' => '25', - 'timeout' => '30', - 'host' => 'mail.cmctechnologies.com.au', - 'username' => 'sales', - 'password' => '2seng33+02')); - - - - }