codeguy/Slim — pull request #416 by vanting (2012-09-09 19:24:21+00:00)
Title: Autoload classes in include path

Replace the file_exists() with stream_resolve_include_path() such that classes in include path can be loaded.

Project Setting:
+-- lib/Slim/Slim.php
|-- index.php

In the top of index.php, add this line:
set_include_path('lib');

The original file_exists() doesn't handle this situation properly.