Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2015
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.30 KB | None | 0 0
  1. <?php
  2.  
  3. class MainController extends Controller {
  4.  
  5.     private static $url_handlers = array(
  6.         'login' => 'login',
  7.         '' => 'index',
  8.     );
  9.  
  10.     private static $allowed_actions = array(
  11.         'login'
  12.     );
  13.    
  14.     public function index() {
  15.         return "index";
  16.     }
  17.  
  18.     public function login() {
  19.         return "login";
  20.     }
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement