Updated email settings per Dec19-20 emails from Con
This commit is contained in:
parent
5936375271
commit
2464a39465
|
|
@ -46,6 +46,16 @@ Configure::write('version', '1.0.0');
|
||||||
|
|
||||||
$host = $_SERVER['HTTP_HOST'];
|
$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
|
//Production Config
|
||||||
if($host == 'cmc.lan' || $host == '192.168.0.7') {
|
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('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(
|
Cache::config('default', array(
|
||||||
'engine' => 'Apc', //[required]
|
'engine' => 'Apc', //[required]
|
||||||
'duration'=> 3600, //[optional]
|
'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'));
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue