DataObjects/Core_person_signup.php
authorEdward <edward@roojs.com>
Tue, 24 Feb 2015 08:44:38 +0000 (16:44 +0800)
committerEdward <edward@roojs.com>
Tue, 24 Feb 2015 08:44:38 +0000 (16:44 +0800)
DataObjects/Core_person_signup.php

index 4e989e4..fb58c66 100644 (file)
@@ -93,11 +93,14 @@ class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject
 //        }
 //    }
 
 //        }
 //    }
 
-    function sendVerification()
+    function sendVerification($roo)
     {
         
         $content = array(
     {
         
         $content = array(
-            'template'          => 'CORE_PERSON_SIGNUP_CONFIRM',
+            'template'      => 'CORE_PERSON_SIGNUP_VERIFICATION',
+            'person'        => $this,
+            'serverName'    => $_SERVER['SERVER_NAME'],
+            'baseURL'       => $roo->baseURL
         );
 
         $sent = DB_DataObject::factory('core_email')->send($content);
         );
 
         $sent = DB_DataObject::factory('core_email')->send($content);