Since layouts are not inherently modular, you might consider the path /application/layouts to be more appropriate.

Kevin

sean-k wrote:
Ah like this ?

<?php

error_reporting(E_ALL|E_STRICT);
ini_set('display_errors', 1);
date_default_timezone_set('America/Phoenix');

set_include_path('.' . PATH_SEPARATOR . '../library' . PATH_SEPARATOR .
'./application/default/models/' . PATH_SEPARATOR . get_include_path());
require_once 'Zend/Controller/Front.php';

Zend_Loader::registerAutoload();  // autoloads stuff as we make calls

/**
 * Setup controller
 */

$controller = Zend_Controller_Front::getInstance();
$controller->setControllerDirectory('../application/default/controllers');
$controller->throwExceptions(true); // should be turned on in development
time
// run!

array('layoutPath' => '../application/default/layouts');

$controller->dispatch();



Sorry and thanks again.
-sean

--

Kevin McArthur

StormTide Digital Studios Inc.
Author of the recently published book, "Pro PHP"
http://www.stormtide.ca

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to