开发者

doctrine cant find my BaseModels in the models/generated folder

when i use a Doctrine Model Doctrine cant find the BaseModel in the models/generated folder.

what should i put in the Doctrine bootstrap file to tell it they are in the models/generated folder?

thank开发者_如何转开发s!


The following line in my bootstrap file resolved this issue for me:

Doctrine_Core::loadModels('path/to/models/generated');
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜