Cloudlog/application/migrations/139_modify_eQSL_url.php
Petr Kracík 059a0860af
eSQL: Security fix, use HTTPS to send password over the internet
Signed-off-by: Petr Kracík <petrkr@petrkr.net>
2023-08-29 17:58:22 +02:00

16 行
375 B
PHP

<?php defined('BASEPATH') OR exit('No direct script access allowed');
class Migration_modify_eQSL_url extends CI_Migration {
public function up()
{
$sql = "UPDATE config SET eqsl_download_url = 'https://www.eqsl.cc/qslcard/DownloadInBox.cfm' WHERE id=1";
$this->db->query($sql);
}
public function down()
{
// Will not go back to insecure connections
}
}
?>