Added staging host to config
This commit is contained in:
parent
5656f3f631
commit
30d1eae9d1
|
|
@ -56,8 +56,8 @@ Configure::write('smtp_settings', array(
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//Production Config
|
//Production/Staging Config
|
||||||
if($host == 'cmc.lan' || $host == '192.168.0.7') {
|
if($host == 'cmc.lan' || $host == '192.168.0.7' || $host == 'cmcbeta.lan') {
|
||||||
$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');
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,9 @@
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<?php echo $document['Document']['user_id']; ?>
|
<?php
|
||||||
|
$pdf_user_id = $document['Document']['user_id'];
|
||||||
|
echo $html->link($users[$pdf_user_id], '/users/view/'.$pdf_user_id);
|
||||||
<?php //echo $html->link($document['User']['username'], array('controller' => 'users', 'action' => 'view', $document['User']['id'])); ?>
|
<?php //echo $html->link($document['User']['username'], array('controller' => 'users', 'action' => 'view', $document['User']['id'])); ?>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue