Initial commit
This commit is contained in:
15
application/controllers/auth.php
Executable file
15
application/controllers/auth.php
Executable file
@@ -0,0 +1,15 @@
|
||||
<?php defined('BASEPATH') || exit("No direct script access allowed");
|
||||
|
||||
class Auth extends CI_Controller {
|
||||
|
||||
public function index() {
|
||||
$this->load->view('auth/login');
|
||||
}
|
||||
|
||||
public function do_login() {
|
||||
echo "{success: true}";
|
||||
}
|
||||
}
|
||||
|
||||
/* End of file auth.php */
|
||||
/* Location: ./application/controllers/auth.php */
|
||||
10
application/controllers/index.html
Executable file
10
application/controllers/index.html
Executable file
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user