kopia lustrzana https://github.com/magicbug/Cloudlog
Testing some changes but wasn't happy with it
rodzic
b4da6386e0
commit
7fef104c35
|
@ -376,7 +376,6 @@ class Logbook extends CI_Controller {
|
|||
function searchbearing($locator) {
|
||||
$this->load->library('Qra');
|
||||
|
||||
|
||||
if($locator != null) {
|
||||
if($this->session->userdata('user_locator') != null){
|
||||
$mylocator = $this->session->userdata('user_locator');
|
||||
|
@ -384,8 +383,6 @@ class Logbook extends CI_Controller {
|
|||
$mylocator = $this->config->item('locator');
|
||||
}
|
||||
|
||||
|
||||
|
||||
$bearing = $this->qra->bearing($mylocator, $locator);
|
||||
|
||||
echo $bearing;
|
||||
|
@ -425,4 +422,6 @@ class Logbook extends CI_Controller {
|
|||
$latlng = $this->qra->qra2latlong($qra);
|
||||
print json_encode($latlng);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
Ładowanie…
Reference in New Issue