1 <?php
2 /**
3 * XLRstats : Real Time Player Stats (http://www.xlrstats.com)
4 * (CC) BY-NC-SA 2005-2013, Mark Weirath, Özgür Uysal
5 *
6 * Licensed under the Creative Commons BY-NC-SA 3.0 License
7 * Redistributions of files must retain the above copyright notice.
8 *
9 * @link http://www.xlrstats.com
10 * @license Creative Commons BY-NC-SA 3.0 License (http://creativecommons.org/licenses/by-nc-sa/3.0/)
11 * @package app.Plugin.Dashboard.Controller
12 * @since XLRstats v3.0
13 * @version 0.1
14 */
15
16 App::uses('DashboardAppController', 'Dashboard.Controller');
17
18 /**
19 * Dashboard Controller
20 */
21 class DashboardController extends DashboardAppController {
22
23 /**
24 * Dashboard index
25 * Redirects to servers index
26 */
27 public function admin_index() {
28 $this->redirect(array(
29 'controller' => 'servers',
30 'action' => 'admin_index'
31 )
32 );
33 }
34
35 }
36