Monday, July 22, 2013

Re: How to create multiple apps in one core?

Thanks a lot ! Finally i could do that !

On Sunday, July 21, 2013 10:55:59 PM UTC+5:30, advantage+ wrote:

What I do is create a libs folder (call it what you like) inside that I have various folders of versions of Cake builds (2.1.3, 2.3.4 and 2.3.8 for example) inside the folders is just the "Cake" folder when you download and extract the zip file.

 

Libs/

                /2.1.3/Cake
                /2.3.4/Cake
                /2.3.8/Cake

 

Open up your app and in webroot open index.php

Around line 60 -62

define('CAKE_CORE_INCLUDE_PATH', 'K:' . DS. 'wamp' . DS. 'www' . DS. 'libs' . DS. '2.3.8'); <- this tells this specific app where the Cake core is located, just point to the folder and leave out the "Cake" directory at the end.

 

And just point this path the location of your Libs/Cake core.

 

So you can have as many apps pointing to a single core. This is localhost production. You will need to put in correct server path as applies to you.

 

Dave

 

 

From: cake...@googlegroups.com [mailto:cake...@googlegroups.com] On Behalf Of Amogh Venkatesh
Sent: Sunday, July 21, 2013 2:46 PM
To: cake...@googlegroups.com
Subject: Re: How to create multiple apps in one core?

 

Thanks for your response. Can i get a simpler version than that. Coz i am still a beginner and not able to understand what they have given. Actually i was looking fwd post like this - http://www.virtualapplicationserver.com/CakePHP_MultipleInstallNotes.html but there i am not able to get what he is pointing out by telling public and private webspace.

On Saturday, July 20, 2013 12:13:54 AM UTC+5:30, MorFer wrote:

Check the manual:

 

It's all step by step there

 

--
Renato Freire

 

 

 

On Fri, Jul 19, 2013 at 12:01 PM, Amogh Venkatesh <amog...@gmail.com> wrote:

I have tried many things to od yet I am not able to. Can anyone give me step by step procedure to do that? 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+u...@googlegroups.com.
To post to this group, send email to cake...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+u...@googlegroups.com.
To post to this group, send email to cake...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: