bcosca/fatfree — pull request #683 by binarygeotech (2014-09-20 19:48:47+00:00)
Title: Invalid Class error when using "map routing" with first letter uppercase filename or directory name

`````` "Invalid Class" `````` error does occur when using "map routing" with first letter uppercase filename or directory name like
`````` App\Controllers\ `````` and `````` App\Controllers\Authenticator.php ``````

The `````` autoloader `````` will look for `````` app/controllers/authenticator.php `````` instead of `````` App/controllers/Authenticator.php ``````
These few lines of code will create another string of uppercase class name and path, then included it in the file existence checking.

I had this problem while working on a big project which works fine on my development PC and doesn't work on my live Web Server.

This is the workaround that fixed the problem.