controller.php
public function getView($view) {
		$path = explode("/", $view);
		include (count($path) > 1) ? "src/views/" . $path[0] . "/" . $path[1] . ".php" : "src/views/" .$path[0] . "/index.php";
	}
public function getView($view) {
		$path = explode("/", $view);
		include (count($path) > 1) ? "src/views/" . $path[0] . "/" . $path[1] . ".php" : "src/views/" .$path[0] . "/index.php";
	}
public function getView ( $ view ) { $ path = explode ( "/" , $ view ) ; include ( count ( $ path ) > 1 ) ? "src/views/" . $ path [ 0 ] . "/" . $ path [ 1 ] . ".php" : "src/views/" . $ path [ 0 ] . "/index.php" ; }
view being called is in the views directory, additional directories are taken into account.
view being called is in the views directory additional directories are taken into account .