Example #1
0
<?php

// Define routes
Router::mvc();
// if not logged in, redirect to auth controller
/*
if( !Auth::isAuth() )
{
    $route = Router::route();
    $route['controller'] = 'auth';
    Application::loadRoute($route);
}
*/