sync
authorAlan Knowles <alan@roojs.com>
Wed, 11 Apr 2018 03:08:22 +0000 (11:08 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 11 Apr 2018 03:08:22 +0000 (11:08 +0800)
DataObjects/Events.php
NotifySend.php
VerifyAccess.php

index 0f4830b..e5650a8 100644 (file)
@@ -510,6 +510,7 @@ class Pman_Core_DataObjects_Events extends DB_DataObject
             
             @mkdir(dirname($file),0700,true); // this might fail if it does not have correct permissions..
             if (!file_exists(dirname($file))) {
+                print_r($this);
                 die("could not create $file - permissons are not correct"); // fatal, otherwise we loop!?
             }
             
index 8676ff8..7fe712c 100644 (file)
@@ -625,7 +625,7 @@ class Pman_Core_NotifySend extends Pman
         if (method_exists($object, 'toMailerData')) {
             return $object->toMailerData(array(
                 'rcpts'=>$rcpt,
-                'person'=>$rcpt,
+                'person'=>$rcpt, // added as mediaoutreach used this?
             )); //this is core_email - i think it's only used for testing...
             //var_Dump($object);
             //exit;
index b93f7c7..d62e116 100644 (file)
@@ -46,7 +46,7 @@ class Pman_Core_VerifyAccess extends Pman
         
     }
     
-    function post()
+    function post($base)
     {
         $core_ip_access = DB_DataObject::factory('core_ip_access');