Hi,

I have two module directories: default and test.

This is an attempt to set up a very basic module structure in order to
understand the new bootstrapping.

In application.ini I basically do

resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
resources.modules[] =

which works fine, as I can access the controllers.

Adding an empty Bootstrap.php to the test module directory makes it
possible to instantiate models from the test directory - nice.

But when I try to instantiate a model from the default module directory,
I get the error message that the class could not be found.

What do I have to set in the application.ini in order to treat the
default module directory like all the others?

I tried adding an empty Bootstrap.php to the default directory, I tried
the prefixDefaultModule and other options in the application.ini (but
that lead to odd errors) and I tried all kinds of typos
(Default_Model_TestModel, Model_TestModel etc) - nothing worked.

Any help is highly appreciated. :)

-- 
Cheers,                        \\|//
Vince                          (o o)
----------------------------ooO-(_)-Ooo-------------------------
 '''   (o)_(o)                                        [ ][0][ ]
 ô¿ô   (=°o°=)   World Domination by Copy and Paste   [ ][ ][0]
  -    (")_(")                                        [0][0][0]

 ()  ascii ribbon campaign - against html e-mail
 /\  www.asciiribbon.org   - against proprietary attachments
                                   Ooo.
---------------------------.ooO----(  )-------------------------
                           (  )    (_/
                            \_)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to