Use localhost for QR reports
This commit is contained in:
@@ -228,8 +228,8 @@ class Rv_patient extends MY_Controller
|
||||
$this->sys_error_db('error m_branch', $this->db_smartone);
|
||||
exit;
|
||||
}
|
||||
$branch = $qry_branch->row_array();
|
||||
$base = "http://" . $branch['M_BranchIPAddress'] . "/";
|
||||
$branch = $qry_branch->row_array();
|
||||
$base = "http://localhost/";
|
||||
|
||||
// Tambah base_url di depan
|
||||
$full_url = $base . ltrim($template_url, '/');
|
||||
|
||||
@@ -1717,8 +1717,8 @@ class Resultentry extends MY_Controller
|
||||
$this->sys_error_db('error m_branch', $this->db_onedev);
|
||||
exit;
|
||||
}
|
||||
$branch = $qry_branch->row_array();
|
||||
$base = "http://" . $branch['M_BranchIPAddress'] . "/";
|
||||
$branch = $qry_branch->row_array();
|
||||
$base = "http://localhost/";
|
||||
|
||||
// ambil endpoint URL dari DB
|
||||
$sql_url = "SELECT QR_ReportEndpointID,
|
||||
|
||||
@@ -5461,7 +5461,7 @@ class Resultentry extends MY_Controller
|
||||
exit;
|
||||
}
|
||||
$branch = $qry_branch->row_array();
|
||||
$base = "http://" . $branch['M_BranchIPAddress'] . "/";
|
||||
$base = "http://localhost/";
|
||||
|
||||
$sql_url = "SELECT QR_ReportEndpointID,
|
||||
QR_ReportEndpointUrl,
|
||||
|
||||
@@ -1122,8 +1122,8 @@ class Resultentry extends MY_Controller
|
||||
$this->sys_error_db('error m_branch', $this->db_onedev);
|
||||
exit;
|
||||
}
|
||||
$branch = $qry_branch->row_array();
|
||||
$base = "http://" . $branch['M_BranchIPAddress'] . "/";
|
||||
$branch = $qry_branch->row_array();
|
||||
$base = "http://localhost/";
|
||||
|
||||
// ambil endpoint URL dari DB
|
||||
$sql_url = "SELECT QR_ReportEndpointID,
|
||||
|
||||
Reference in New Issue
Block a user