Hi,

I have a server where I'd like multiple applications to share not only
the same core cake libraries but also the same core.php and
database.php configuration files.

E.g.

/cake
/app1
/app2
/app3
.
.
.
/appX


To accomplish this, I copied /app1/config/core.php and /app1/config/
database.php to the /cake/config directory. Then in the config
directories for app1 through appX I replaced core.php and database.php
as follows:

/appX/config/core.php

require CAKE_CORE_INCLUDE_PATH . DS . 'cake' . DS . 'config' . DS .
'core.php';

/appX/config/database.php

require CAKE_CORE_INCLUDE_PATH . DS . 'cake' . DS . 'config' . DS .
'database.php';

I am wondering... will this work? If yes, is there a better way? If
no, what would work? Thanks!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to