Hi,
I am new to Zend and trying to build a small test application.
My structure is something like this
development
->application
->config
->models
->modules
->library
->plugins
->Environment
initialize.php
->public
->index.php
in my bootstrap(index.php) I've specified where to find my own library
set_include_path(
'.'
. PATH_SEPARATOR . 'path to Zend framework\ZendFramework-1.8.4\library'
. PATH_SEPARATOR . '..\library'
. PATH_SEPARATOR . '..\application\models' // Location of Models
);
require_once 'Zend/Loader/Autoloader.php';
$objFront = Zend_Loader_Autoloader::getInstance();
$objFront = Zend_Controller_Front::getInstance()
->addModuleDirectory( "..\application\modules" )
->setBaseUrl( '/' )
->throwExceptions( true );
$objFront->registerPlugin( new plugins_Environment_initialize() );
try
{
$objFront->dispatch();
}
catch(Zend_Controller_Action_Exception $e)
{
Zend::dump($e);
exit();
}
When i debug it says
Fatal error: Class 'plugins_Environment_initialize' not found
Any help would be appreicated.
Thanks