Location: PHPKode > projects > tinyPHP > tinyPHP-master/tinyPHP/Classes/Controllers/Login.php
<?php namespace tinyPHP\Classes\Controllers;
/**
 *
 * Login Controller
 *  
 * PHP 5
 *
 * tinyPHP(tm) : Simple & Lightweight MVC Framework (http://tinyphp.us/)
 * Copyright 2012, 7 Media Web Solutions, LLC (http://www.7mediaws.org/)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright Copyright 2012, 7 Media Web Solutions, LLC (http://www.7mediaws.org/)
 * @link http://tinyphp.us/ tinyPHP(tm) Project
 * @since tinyPHP(tm) v 0.1
 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
 */

if ( ! defined('BASE_PATH') ) exit('No direct script access allowed');

class Login extends \tinyPHP\Classes\Core\Controller {
	
	public function __construct() {
		parent::__construct();	
	}
	
	public function index() {	
		$this->view->render('login/index');
	}
	
	public function run() {
		$this->model->run();
	}
	
}
Return current item: tinyPHP