DataObjects/Core_ip_access.php
[Pman.Core] / UpdateDatabase.php
index 03eda69..461bcdf 100644 (file)
@@ -150,7 +150,7 @@ class Pman_Core_UpdateDatabase extends Pman
         $ff = HTML_FlexyFramework::get();
         
         if(!isset($ff->Pman) || !isset($ff->Pman['local_base_url'])){
-            die("Please setup local_base_url");
+            die("Please setup Pman[local_base_url]\n");
         }
         
         $this->local_base_url = $ff->Pman['local_base_url'];
@@ -744,7 +744,8 @@ class Pman_Core_UpdateDatabase extends Pman
                             
                         
                     )
-                ),
+                )
+               
             )
         ); 
         
@@ -768,6 +769,8 @@ class Pman_Core_UpdateDatabase extends Pman
                 'name' => 'core-person-signup-bcc',
                 'type' => 0, // system
             ),
+        
+
         ));
         
     }
@@ -838,12 +841,13 @@ class Pman_Core_UpdateDatabase extends Pman
                 
                 $cm->bcc_group = $g->id;
             }
-            if (empty($cm->test_class)) {
+            // initEmails will always have the latest location of the test class - in theory the user should not be changign the value of this...
+            //if (empty($cm->test_class)) {
                 if (empty($data['test_class'])) {
                     $this->jerr("missing test_class for template $name");
                 }
                 $cm->test_class = $data['test_class'];
-            }
+            //}
             require_once $cm->test_class . '.php';
             
             $clsname = str_replace('/','_', $cm->test_class);
@@ -1182,4 +1186,4 @@ class Pman_Core_UpdateDatabase extends Pman
     
     
     
-}
\ No newline at end of file
+}