Add some comments

This commit is contained in:
Eike Foken
2011-04-16 17:42:57 +02:00
parent a0e7f4ba30
commit cd405f8543

View File

@@ -1,11 +1,22 @@
<?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}";
}