Initial baseline WACloud CI3 production
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
defined('BASEPATH') or exit('No direct script access allowed');
|
||||
|
||||
class Auth_model extends CI_Model
|
||||
{
|
||||
|
||||
public function get_user($username)
|
||||
{
|
||||
$this->db->where('username', $username);
|
||||
$query = $this->db->get('users');
|
||||
return $query->row_array();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user