Plugin Directory

Changeset 1399273


Ignore:
Timestamp:
04/19/2016 11:42:04 AM (10 years ago)
Author:
robmcvey
Message:

Use dev url when in dev mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • copify/trunk/Lib/CopifyWordpress.php

    r1399202 r1399273  
    125125        // Set the correct end point for the API
    126126        if (defined('COPIFY_DEVMODE') && COPIFY_DEVMODE == true) {
    127             $this->Api->basePath = 'https://localhost.copify.com/api';
     127            $this->Api->basePath = COPIFY_DEV_URL;
    128128        } else {
    129129            $this->Api->basePath = sprintf('https://%s.copify.com/api', $CopifyLoginDetails['CopifyLocale']);
Note: See TracChangeset for help on using the changeset viewer.