- fixes missing () from num_rows in authenticate user function - removes passwordhash library in favor of built in PHP password_hash and password_verify functions - uppercase all class filenames - add new CLI error templates, move HTML error templates - update mimes file to latest version - update routes to latest version
18 行
无行尾
277 B
PHP
18 行
无行尾
277 B
PHP
<?php
|
|
|
|
class Sota extends CI_Model {
|
|
|
|
function __construct()
|
|
{
|
|
parent::__construct();
|
|
}
|
|
|
|
function get_all() {
|
|
$this->db->order_by("COL_COMMENT", "ASC");
|
|
$this->db->like('COL_COMMENT', 'SOTA:');
|
|
|
|
return $this->db->get($this->config->item('table_name'));
|
|
}
|
|
}
|
|
|
|
?>
|