Zend Framework - Index.php
Posted on 2012-04-03
So...I'm doing my first Zend Framework project and the index.PHP code is as such
// Define path to application directory
|| define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));
// Define application environment
|| define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));
// Ensure library/ is on include_path
realpath(APPLICATION_PATH . '/../library'),
/** Zend_Application */
// Create application, bootstrap, and run
$application = new Zend_Application(
APPLICATION_PATH . '/configs/application.ini'
When I build the project it comes up on the index.phtml page....
Where in that "index.php" code does it direct to the "/application/views/scripts/index/index.phtml"?
I'm trying to understand how that gets routed and can't figure it out.