private function _parse_routes()
	{
		$uri=implode('/', $this->uri->segments());

		if (isset($this->router[$uri])) {
			return $this->_set_request(explode('/', $this->router[$uri]));
		}

		foreach ($this->router as $key => $val) {
			$key = str_replace(':any', '.+', str_replace(':num', '[0-9]+', $key));

			if (preg_match('#^'.$key.'$#', $uri)) {
				if (strpos($val, '$') !== FALSE AND strpos($key, '(') !== FALSE) {
					$val = preg_replace('#^'.$key.'$#', $val, $uri);
				}

				return $this->_set_request(explode('/', $val));
			}
		}

		$this->_set_request($this->uri->segments());
	}
private function _parse_routes()
	{
		$uri=implode('/', $this->uri->segments());

		if (isset($this->router[$uri])) {
			return $this->_set_request(explode('/', $this->router[$uri]));
		}

		foreach ($this->router as $key => $val) {
			$key = str_replace(':any', '.+', str_replace(':num', '[0-9]+', $key));

			if (preg_match('#^'.$key.'$#', $uri)) {
				if (strpos($val, '$') !== FALSE AND strpos($key, '(') !== FALSE) {
					$val = preg_replace('#^'.$key.'$#', $val, $uri);
				}

				return $this->_set_request(explode('/', $val));
			}
		}

		$this->_set_request($this->uri->segments());
	}
private function _parse_routes ( ) { $ uri = implode ( '/' , $ this -> uri -> segments ( ) ) ; if ( isset ( $ this -> router [ $ uri ] ) ) { return $ this -> _set_request ( explode ( '/' , $ this -> router [ $ uri ] ) ) ; } foreach ( $ this -> router as $ key => $ val ) { $ key = str_replace ( ':any' , '.+' , str_replace ( ':num' , '[0-9]+' , $ key ) ) ; if ( preg_match ( '#^' . $ key . '$#' , $ uri ) ) { if ( strpos ( $ val , '$' ) !== FALSE AND strpos ( $ key , '(' ) !== FALSE ) { $ val = preg_replace ( '#^' . $ key . '$#' , $ val , $ uri ) ; } return $ this -> _set_request ( explode ( '/' , $ val ) ) ; } } $ this -> _set_request ( $ this -> uri -> segments ( ) ) ; }
disini mo ba atur akan apa mo kamana
disini mo ba atur akan apa mo kamana