clean up
This commit is contained in:
@@ -11,6 +11,12 @@ class Dash extends BaseUsersController
|
||||
}
|
||||
|
||||
public function contacts(){
|
||||
|
||||
$db = \Config\Database::connect('mermsemr_site');
|
||||
$query = $db->query(
|
||||
'SELECT * FROM myfit_contact ORDER BY id DESC LIMIT 10'
|
||||
);
|
||||
$data['contact_data'] = $query->getResultArray();;
|
||||
$data['page_title'] ='Contacts';
|
||||
return view('bko/contacts',$data);
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ class Home extends BaseController
|
||||
$loginComplete = false;
|
||||
$out['error'] = 'All parameters required';
|
||||
}
|
||||
if ($username == 'ameye@chiefsoft.com' && $password == 'may12002') {
|
||||
if ($username == 'support@chiefsoft.com' && $password == '12345678') {
|
||||
$loginComplete = true;
|
||||
$out['username'] = 'ameye@chiefsoft.com';
|
||||
$out['firstname'] = 'Olusesan';
|
||||
|
||||
Reference in New Issue
Block a user