Plugin Directory

Changeset 1793884


Ignore:
Timestamp:
12/28/2017 09:25:59 PM (8 years ago)
Author:
shopybot
Message:

shopybot for woocommerce v1.0.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • shopybot-woocommerce/trunk/includes/class-wc-shopybot-integration.php

    r1720404 r1793884  
    438438        private function shopybot_url()
    439439        {
    440 
    441             return getenv('SHOPYBOT_URL') ? getenv('SHOPYBOT_URL') : 'https://www.shopybot.com';
     440            if($_SERVER["SERVER_NAME"] == "shopybotshop.loc") {
     441                return "http://localhost:4000"; # dev settings
     442            } else {
     443                return 'https://www.shopybot.com';
     444            }
    442445        }
    443446
Note: See TracChangeset for help on using the changeset viewer.