Hello,
I am having difficulty getting the following to work:
In: http://book.cakephp.org/2.0/en/installation.html
SECTION:
Using one CakePHP Checkout for multiple Applications
It states how to use a single cake install for multiple cake projects.
In addition,
I seem to have discovered a solution:
In the Vendor/Composer folder
In the file: Autoload_psr4.php
Hardcoded the path to my cake3 libraries
'Cake\\' = array('c:/cake/cake3/cakephp/src'),
Initial URL now shows success...
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on
I would recommend *against* using a shared CakePHP library. If you work on
multiple applications it will only be a matter of time before your version
numbers start to diverge and you end up in a really bad place.
-Mark
On Saturday, 23 August 2014 09:54:31 UTC+2, heavyKevy wrote:
Hello,
I am
Wasn't that part removed from the docs for 3.x?
For a very good reason.
There is absolutely no reason share the core in 3.x.
Always use composer. Space is cheap - thus you dont need to care about
having 2...x core folders lying around on your system :)
mark
Am Samstag, 23. August 2014
Hi all,
I've followed the instructions at
http://book.cakephp.org/view/915/Advanced-Installation
and essentially done the following on my Mac:
0 - Enabled mod_rewrite in my httpd.conf
1 - Forked CakePHP from git (cakephp/cakephp) into /usr/local/cakephp
2 - Setup Aliases for the cake console
Do you have a cake directory under cake1.2.6?
If not, then rename the cake1.2.6 directory to cake and use:
define('CAKE_CORE_INCLUDE_PATH',DS.'dev'.DS.'lib');
I have this directory setup:
/cake
/app1
/app2
/app3
and I use the following in the /appx/webroot/index.php to define the
constants:
...
On Feb 2, 11:07 pm, Dave make.cake.b...@gmail.com wrote:
I am trying to set up multiple apps using 1 cake so i have currently:
public_html/
dev/
libs/
cake1.2.6/
site1/
This should be:
define('CAKE_CORE_INCLUDE_PATH',DS.'dev'.DS.'lib');
On Feb 3, 6:07 am, Dave make.cake.b...@gmail.com wrote:
I am trying to set up multiple apps using 1 cake so i have currently:
public_html/
dev/
libs/
I think the best solution is to have app1 app2 and so on in the root
(same level of cake...) instead.
Max-B
Il giorno mar, 02/02/2010 alle 18.37 -0330, Dave ha scritto:
I am trying to set up multiple apps using 1 cake so i have currently:
public_html/
dev/
I am trying to set up multiple apps using 1 cake so i have currently:
public_html/
dev/
libs/
cake1.2.6/
site1/
/app
site2/
10 matches
Mail list logo