Testing some changes but wasn't happy with it
这个提交包含在:
父节点
b4da6386e0
当前提交
7fef104c35
共有 1 个文件被更改,包括 3 次插入 和 4 次删除
|
|
@ -376,7 +376,6 @@ class Logbook extends CI_Controller {
|
||||||
function searchbearing($locator) {
|
function searchbearing($locator) {
|
||||||
$this->load->library('Qra');
|
$this->load->library('Qra');
|
||||||
|
|
||||||
|
|
||||||
if($locator != null) {
|
if($locator != null) {
|
||||||
if($this->session->userdata('user_locator') != null){
|
if($this->session->userdata('user_locator') != null){
|
||||||
$mylocator = $this->session->userdata('user_locator');
|
$mylocator = $this->session->userdata('user_locator');
|
||||||
|
|
@ -384,8 +383,6 @@ class Logbook extends CI_Controller {
|
||||||
$mylocator = $this->config->item('locator');
|
$mylocator = $this->config->item('locator');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$bearing = $this->qra->bearing($mylocator, $locator);
|
$bearing = $this->qra->bearing($mylocator, $locator);
|
||||||
|
|
||||||
echo $bearing;
|
echo $bearing;
|
||||||
|
|
@ -425,4 +422,6 @@ class Logbook extends CI_Controller {
|
||||||
$latlng = $this->qra->qra2latlong($qra);
|
$latlng = $this->qra->qra2latlong($qra);
|
||||||
print json_encode($latlng);
|
print json_encode($latlng);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
}
|
||||||
正在加载…
在新工单中引用