testing
[namibia] / module / Utility / src / Utility / Comms / Sms.php
index e4e627e..4dcec59 100644 (file)
@@ -249,6 +249,7 @@ class Sms
         #-> Environmental override.
         if (IS_DEV_ENV && !IS_STAGE_ENV)
         {
         #-> Environmental override.
         if (IS_DEV_ENV && !IS_STAGE_ENV)
         {
+            \Utility\Debug::errorLog("overriding","sms");
                \Utility\Debug::errorLog('Sms.send Override: ' . $this->sTo, $this->sBody);
                return;
         }
                \Utility\Debug::errorLog('Sms.send Override: ' . $this->sTo, $this->sBody);
                return;
         }
@@ -263,6 +264,9 @@ class Sms
               . "&to=$this->sTo"
               . "&text=".substr(urlencode($this->sBody),0,620);
 
               . "&to=$this->sTo"
               . "&text=".substr(urlencode($this->sBody),0,620);
 
+        \Utility\Debug::errorLog("sms url", $sUrl);
+        error_log("sms url", $sUrl);
+
         if (!empty($this->sSmscId))
         {
             $sUrl .= "&smsc=" . $this->sSmscId;
         if (!empty($this->sSmscId))
         {
             $sUrl .= "&smsc=" . $this->sSmscId;