Keep breaking things getting annoyed

这个提交包含在:
Peter Goodhall 2020-03-01 19:13:45 +00:00
父节点 b75829e66d
当前提交 a6c4b04b05
共有 2 个文件被更改,包括 3 次插入3 次删除

查看文件

@ -570,7 +570,7 @@ class eqsl extends CI_Controller {
}
function image($id, $callsign, $mode, $band, $hour, $minute, $day, $month, $year) {
$this->load->library('Eqsl_library');
$this->load->library('electronicqsl');
$this->load->model('Eqsl_images');
if($this->Eqsl_images->get_image($id) == "No Image") {
@ -580,7 +580,7 @@ class eqsl extends CI_Controller {
$password = $q->user_eqsl_password;
$image_url = $this->Eqsl_library->card_image($username, $password, $callsign, $band, $mode, $year, $month, $day, $hour, $minute);
$image_url = $this->electronicqsl->card_image($username, $password, $callsign, $band, $mode, $year, $month, $day, $hour, $minute);
$file = file_get_contents($image_url, true);
$dom = new domDocument;

查看文件

@ -1,6 +1,6 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Eqsl_library {
class electronicqsl {
// Return formatted URL to get the eQSL card image
public function card_image($username, $password, $callsign, $band, $mode, $year, $month, $day, $hour, $minute)