Every now and then, you might need to have the APPLICATION_PATH constant in the application.ini for your Zend Framework application.
Doing this is easy, and despite many answers on the web, this IS possible.
To use it, you'll need something like this:
Text Snippet:
image.upload.path = APPLICATION_PATH "/../public/assets"
In your application, you can call (after you've retrieved your Config object):
PHP Code:
<?php
$config = $this->_config; // get your config.
print($config->image->upload->path);
Quite easy, but apparently this confuses the heck out of a lot of devs.
