« Return to Thread: file not found error - 1.03

Re: file not found error - 1.03

by digitalus_media :: Rate this Message:

Reply to Author | View in Thread

I am having this same issue in a very simple local utility tool.

My Bootstrap:

<?php
date_default_timezone_set('America/New_York');
set_include_path('.' . PATH_SEPARATOR . get_include_path() . '/ZendFramework-1.0.3'
. PATH_SEPARATOR . '../library'
. PATH_SEPARATOR . '../application/models');

include "Zend/Loader.php";
function __autoload($class)
{
    Zend_Loader::loadClass($class);
}

//setup session
Zend_Session::start();

// load configuration
$config = new Zend_Config_Xml('../application/data/config.xml', 'DSF');

//get an instance of the registry
$registry = Zend_Registry::getInstance();

//save the config information into the registry
$registry->set('config', $config);
$registry->set('post',$_POST);

// setup controller
$frontController = Zend_Controller_Front::getInstance();
$frontController->throwExceptions(true);
$frontController->setControllerDirectory('../application/controllers');

// run!
$frontController->dispatch();

 « Return to Thread: file not found error - 1.03