<?php require_once 'config.class.php'; require_once 'router.class.php'; $router = Router::getInstance(); $controller = $router->path[0]; // 0 - controller $method = $router->path[1]; // 1 - model method // 2,3,4 and etc. other parameters ?>
info at phpclasses dot org