diff --git a/.gitignore b/.gitignore index e48481d..18815d1 100755 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # User specific & automatically generated files # ################################################# /app/Config/database.php +/app/Config/email.php /app/webroot/uploads/ /app/webroot/avatar/ /app/webroot/dreamjob/ diff --git a/app/View/Emails/html/registration.ctp b/app/View/Emails/html/registration.ctp index ddaab86..b467d64 100644 --- a/app/View/Emails/html/registration.ctp +++ b/app/View/Emails/html/registration.ctp @@ -1,4 +1,4 @@ Html->link(__('dreamjob.regisration.active.link'),array('controller' => 'registration', 'action' => 'active','code'=>$key, - '?'=>array('mail'=>$data['User']['mail']))); + '?'=>array('mail'=>$data['User']['mail'])),true); ?> diff --git a/app/View/Emails/text/registration.ctp b/app/View/Emails/text/registration.ctp index 57f9499..66b9ea8 100644 --- a/app/View/Emails/text/registration.ctp +++ b/app/View/Emails/text/registration.ctp @@ -1,4 +1,4 @@ Html->url(array('controller'=>'registration','action'=>'active','code'=>$key, - '?'=>array('mail'=>$data['User']['mail']))); + '?'=>array('mail'=>$data['User']['mail'])),true); ?> diff --git a/app/View/User/test.ctp b/app/View/User/test.ctp index b19c319..62fd8bc 100755 --- a/app/View/User/test.ctp +++ b/app/View/User/test.ctp @@ -9,8 +9,8 @@ $key = "af4oi";