Set isDefaultTableAdapter
resources.db.isDefaultTableAdapter = 1
Bye,
Sebastian
Scott Sowers schrieb:
> Hi,
>
> I'm writing a modular application using modules, but my my
> Zend_Db_Table_Abstract classes cannot find the DB Adapter which I have
> set up in my application.ini file as follows:
>
> resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
> resources.frontController.moduleControllerDirectoryName = "controllers"
> resources.modules[] = ""
> resources.db.adapter = PDO_MYSQL
> resources.db.params.host = localhost
> resources.db.params.username = root
> resources.db.params.password = password
> resources.db.params.dbname = dbname
>
> Any suggestions on how I might get the module models to find the DB
> Adapter?
>
> Thanks,
> Scott
>
--
Sebastian Krebs
http://www.kingcrunch2000.de
PGP key http://kingcrunch2000.de/public/0x44291B2B-pub.asc
没有评论:
发表评论