1e6ca37e2cd7990fbf89d2c5cfa036dd95a84b69
[speedfreak] / Server / application / controllers / api.php
1 <?php defined('SYSPATH') OR die('No direct access allowed.');
2 /*
3  * API controller for communicating with mobile clients
4  * 
5  * @author      Artem Daniliants <artem@daniliants.com>
6  * @copyright   (c) 2010 Speed Freak team
7  * @license     http://opensource.org/licenses/gpl-license.php GNU Public License
8  */
9
10 class Api_Controller extends Controller{
11     
12         /*
13          * Default action when no parameters are given to controller
14          */
15         public function index(){
16         url::redirect(Kohana::config('api.default_redirect'),301);
17     }
18     
19     /*
20      * New user registration
21      */
22 }