$apiMsgId = '';
try
{
-// \Utility\Debug::errorLog("tryingNotification","sms");
- error_log("tryingNotification",$mobile);
+ \Utility\Debug::errorLog("tryingNotification","sms");
+
if (!$disableSms && $smsTemplate && $mobile)
{
- if (IS_STAGE_ENV || 'production' == \Utility\Registry::getConfigParam('Instance'))
+// if (IS_STAGE_ENV || 'production' == \Utility\Registry::getConfigParam('Instance'))
+ if (IS_STAGE_ENV || IS_LIVE_ENV)
{
if (IS_STAGE_ENV)
{
. "&text=".substr(urlencode($this->sBody),0,620);
\Utility\Debug::errorLog("sms url", $sUrl);
- error_log("sms url", $sUrl);
if (!empty($this->sSmscId))
{