updates
authorMark <mark@nirph.com>
Mon, 12 Dec 2016 11:55:35 +0000 (13:55 +0200)
committerMark <mark@nirph.com>
Mon, 12 Dec 2016 11:55:35 +0000 (13:55 +0200)
module/Utility/src/Utility/Comms/Sms.php
module/Valuation/src/Valuation/Controller/XmlRpcController.php
public/js/app/router.js
public/js/app/workspace.js
refresh-proxies.sh

index e4e627e..8f2d116 100644 (file)
@@ -263,6 +263,8 @@ class Sms
               . "&to=$this->sTo"
               . "&text=".substr(urlencode($this->sBody),0,620);
 
+        \Utility\Debug::errorLog("sms url", $sUrl);
+
         if (!empty($this->sSmscId))
         {
             $sUrl .= "&smsc=" . $this->sSmscId;
index e1e6a7d..ac96640 100644 (file)
@@ -88,8 +88,8 @@ class XmlRpcController extends \Zend\Mvc\Controller\AbstractActionController
                ini_set('memory_limit','512M');
                try {
                        $url = IS_DEV_ENV
-                               ? 'http://bid4cars.local/xmlrpc/1.0'
-                               : 'http://bid4cars.nirph.com/xmlrpc/1.0';
+                               ? 'http://namibia.local/xmlrpc/1.0'
+                               : 'http://bid4cars.com.na/xmlrpc/1.0';
                        $client = new \Zend\XmlRpc\Client($url);
                        //$client = new \Zend\XmlRpc\Client($url . '/callback');
                        $arg1 = '4afb4a290f971186654f18dd6a13a7d7';
index 4f84a86..66c4fc9 100644 (file)
             }
 
                        if ('home' == page
-                               && ('bid4cars.local' == window.location.host
-                                       || 'bid4cars.nirph.com' == window.location.host
+                               && ('namibia.local' == window.location.host
+                                       || 'namibia.nirph.com' == window.location.host
                                        || 'www.bid4cars.com.na' == window.location.host))
                        {
                                page = 'dealerhome';
index cecb1d5..ad0330c 100644 (file)
                        App.API.getTask(
                                        'getActiveAccount', 'User', 'Profile.ActiveAccount', null,
                                        {}, function() {
-                                               if ('bid4cars.nirph.com' != window.location.hostname
-                                                               && 'bid4cars.local' != window.location.hostname
+                                               if ('namibia.nirph.com' != window.location.hostname
+                                                               && 'namibia.local' != window.location.hostname
                                                                && 'bid4cars.com.na' != window.location.hostname)
                                                {
                                                        alert('Please click ok to refresh this page.');
                        App.API.getTask(
                                        'getActiveAccount', 'User', 'Profile.ActiveAccount', null,
                                        {}, function() {
-                                               if ('bid4cars.nirph.com' != window.location.hostname
-                                                               && 'bid4cars.local' != window.location.hostname
+                                               if ('namibia.nirph.com' != window.location.hostname
+                                                               && 'namibia.local' != window.location.hostname
                                                                && 'bid4cars.com.na' != window.location.hostname)
                                                {
                                                        alert('Please click ok to refresh this page.');
                                        && true == App.permissions.accessAdminModule)
                        {
                                _w.initAdmin();
-                               if ('bid4cars.local' != window.location.hostname)
+                               if ('namibia.local' != window.location.hostname)
                                {
                                        window.location.hash = '/admin';
                                }
index 3c9ea93..d010c1f 100644 (file)
@@ -6,6 +6,6 @@ rm -f data/DoctrineORMModule/Proxy/__CG__*
 mv /tmp/__CG__* data/DoctrineORMModule/Proxy/
 echo -e "\nKicking the cache..."
 rm -rf data/cache/module*
-wget "http://bid4cars.local/ck.php"
+wget "http://namibia.local/ck.php"
 rm -f ck.*