Added ip to config check
This commit is contained in:
parent
e5bfd530d3
commit
3f39f50851
|
|
@ -48,7 +48,7 @@ $host = $_SERVER['HTTP_HOST'];
|
||||||
|
|
||||||
|
|
||||||
//Production Config
|
//Production Config
|
||||||
if($host == 'cmc.lan') {
|
if($host == 'cmc.lan' || $host == '192.168.0.7') {
|
||||||
$basedir = '/var/www/CMC-Sales/app';
|
$basedir = '/var/www/CMC-Sales/app';
|
||||||
Configure::write('email_directory', '/var/www/cakephp/app/emails');
|
Configure::write('email_directory', '/var/www/cakephp/app/emails');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue