public function dispatch() { $this->route = K_Request::route(); $this->bootstrap->route = $this->route; $this->route['caller'] = 0; // 0 - call from internet request, 1 - call local $this->executeRequest($this->route); }