diff --git a/app/config/core.php b/app/config/core.php index 0724cc3b..91c5b7d3 100644 --- a/app/config/core.php +++ b/app/config/core.php @@ -56,8 +56,8 @@ Configure::write('smtp_settings', array( -//Production Config -if($host == 'cmc.lan' || $host == '192.168.0.7') { +//Production/Staging Config +if($host == 'cmc.lan' || $host == '192.168.0.7' || $host == 'cmcbeta.lan') { $basedir = '/var/www/CMC-Sales/app'; Configure::write('email_directory', '/var/www/cakephp/app/emails'); diff --git a/app/views/documents/index.ctp b/app/views/documents/index.ctp index a7ab09c8..07e206cc 100755 --- a/app/views/documents/index.ctp +++ b/app/views/documents/index.ctp @@ -26,7 +26,9 @@ - +link($users[$pdf_user_id], '/users/view/'.$pdf_user_id); link($document['User']['username'], array('controller' => 'users', 'action' => 'view', $document['User']['id'])); ?>