Changeset 1916714
- Timestamp:
- 07/30/2018 06:45:37 AM (8 years ago)
- Location:
- doubridge/trunk
- Files:
-
- 2 edited
-
doubridge.php (modified) (2 diffs)
-
includes/settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
doubridge/trunk/doubridge.php
r1887299 r1916714 19 19 protected $logger; 20 20 protected $http; 21 22 public $DEBUG = false; 23 public $SERVER_URL = 'https://app.doubridge.com'; 21 24 22 25 public function __construct() { … … 67 70 68 71 if ( empty( $options['host'] ) ) { 69 $options['host'] = 'https://www.doubridge.com';72 $options['host'] = $this->SERVER_URL; 70 73 } 71 74 -
doubridge/trunk/includes/settings.php
r1887299 r1916714 15 15 <tr> 16 16 <th scope="row"><label for="host">Server Url:</label></th> 17 <?php if( $GLOBALS['doubridge']->DEBUG ): ?> 17 18 <td><input name="doubridge_api[host]" type="text" id="host" value="<?php echo $options['host']; ?>" class="regular-text" /></td> 19 <?php else: ?> 20 <td><input name="doubridge_api[host]" type="text" id="host" value="<?php echo $GLOBALS['doubridge']->SERVER_URL; ?>" readonly="readonly" class="regular-text" /></td> 21 <?php endif; ?> 18 22 </tr> 19 23 <tr>
Note: See TracChangeset
for help on using the changeset viewer.