Action is not used if file is specified!

I’m working on a route function, like the modern frameworks have, but
this is not a framework.

Currently, “/user/view” will look for /controller/user.view.php, if no
file is found, it will look for /controller/user.php and pass “view” as
the action/variable, such as username or so.

Before, it simply took the last variable
(/variable/anothervariable/LASTvariable) in the url and passed it as
action.