Changeset 1259660
- Timestamp:
- 10/05/2015 08:44:01 AM (11 years ago)
- Location:
- beacon-by/trunk
- Files:
-
- 3 edited
-
classes/class.beacon_plugin.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
views/dashboard/footer.tpl.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
beacon-by/trunk/classes/class.beacon_plugin.php
r1246626 r1259660 357 357 358 358 359 360 public static function getPageURL() 361 { 362 $pageURL = (@$_SERVER["HTTPS"] == "on") ? "https://" : "http://"; 363 364 if ($_SERVER["SERVER_PORT"] != "80") 365 { 366 $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; 367 } 368 else 369 { 370 $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; 371 } 372 373 return $pageURL; 374 375 } 376 359 377 } 360 378 -
beacon-by/trunk/readme.txt
r1246626 r1259660 3 3 Requires at least: 3.0.1 4 4 Tested up to: 4.2.2 5 Stable tag: 1. 15 Stable tag: 1.2 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html -
beacon-by/trunk/views/dashboard/footer.tpl.php
r1246626 r1259660 2 2 <script> 3 3 <?php if ($data['has_connected']): ?> 4 BN_target = ' http://<?php echo BEACONBY_CREATE_TARGET . '/api/beacon/' . $data['has_connected']?>';4 BN_target = '//<?php echo BEACONBY_CREATE_TARGET . '/api/beacon/' . $data['has_connected']?>'; 5 5 <?php else: ?> 6 6 BN_target = false;
Note: See TracChangeset
for help on using the changeset viewer.