PluginLoader cannot load Zend_Layout.

In my bootstrap.ph I use the following code:

require_once "Zend/Layout.php";
        Zend_Layout::startMvc(array('layoutPath' => self::$path .
'/application/modules/default/views/scripts'));
        Zend_Layout::getMvcInstance()->getView()->addScriptPath(self::$path
. '/application/modules/default/views/scripts');

But in layout.phtm at this line...

<?= $this->layout()->content ?>

...PluginLoader to do the following...

Zend_Loader::loadFile($classFile, $paths);

...and Zend_Loader add to paths paths from get_include_path()

An I get the error

Cannot redeclare class Zend_Layout
-- 
View this message in context: 
http://www.nabble.com/Trouble-with-Zend_Layout-tp19802825p19802825.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to