Files
scattport-web/application/controllers/auth.php
2011-04-16 17:42:57 +02:00

27 lines
490 B
PHP
Executable File

<?php defined('BASEPATH') || exit("No direct script access allowed");
/**
* Authentication controller
*
* @author Eike Foken <kontakt@eikefoken.de>
*/
class Auth extends CI_Controller {
/**
* Shows the index page.
*/
public function index() {
$this->load->view('auth/login');
}
/**
* Logs the user in - or not ;-)
*/
public function do_login() {
echo "{success: true}";
}
}
/* End of file auth.php */
/* Location: ./application/controllers/auth.php */