yes.
I am developing an application with several modules. So I have the following
dir structure:
zfproject
--backend
--frontend
--layouts
--scripts
--modules
--default
--controllers
--models
--cms
--controllers
--models
--views
--forms
--designs
--controllers
--models
--views
--forms
.....
ANd this is how you let ZF know your modules path
//set this in bootstrap:
defined('FRONT_APPLICATION_PATH') or define('FRONT_APPLICATION_PATH',
dirname(__FILE__));
$frontController = Zend_Controller_Front::getInstance();
$frontController->addModuleDirectory(FRONT_APPLICATION_PATH.'/modules');
Thanks,
Vibhor
----- Original Message -----
From: vadim gavrilov
To: Zend Framework - General
Sent: Wednesday, March 04, 2009 4:30 PM
Subject: [fw-general] Public folder but application uses modules
If i have several modules like default, admin, blog etc...
will i need to create several directories in the public/ folder for each
module? how would i access the files there? do i need to set those myself or is
there any way of doing that using the ZF?
Thanks.
--
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.