Aca te paso parte del index.php
Código PHP:
// setup database
$db = Zend_Db::factory($config->db->adapter, $config->db->config->toArray());
Zend_Db_Table::setDefaultAdapter($db);
Zend_Registry::set('dbAdapter', $db);
// Setup controller
$frontController = Zend_Controller_Front::getInstance();
$frontController->throwExceptions(true);
$frontController->addModuleDirectory('./application/modules/');
// run!
try {
$frontController->dispatch();
} catch (Exception $e) {
echo "Message: " . $e->getMessage() . "\n";
}