Fixed error due to undefined constant in example

In your example, public/index has a constant defined as "APPLICATION_PATH" which point to the application folder. But in the conf/application.ini you [were] using APP_PATH which should be APPLICATION_PATH, otherwise your example won't work, unless the user creates another constant named APP_PATH in public/index.php