BadHorsie
BadHorsie

Reputation: 14544

Shared models across different Cake installations on the same server

I have multiple sites on the same server, each with their own Cake install. I want to share models across these different apps.

How do I import and use the shared model that lies outside of the app?

Upvotes: 1

Views: 77

Answers (1)

noslone
noslone

Reputation: 1289

You could use App::build as noted in the docs

App::build(array('Model' => array('/a/full/path/to/models/')));

Upvotes: 4

Related Questions