Changeset 1793884
- Timestamp:
- 12/28/2017 09:25:59 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
shopybot-woocommerce/trunk/includes/class-wc-shopybot-integration.php
r1720404 r1793884 438 438 private function shopybot_url() 439 439 { 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 } 442 445 } 443 446
Note: See TracChangeset
for help on using the changeset viewer.