Can't you just delete the plugin folder and create a symlink or hard link instead.
On Sun, Jul 4, 2010 at 2:57 PM, radons <[email protected]> wrote: > Hi, > > I'm attempting an advanced installation of Cake 1.3.2 on a linux > server and trying to get a global plugin directory working (i.e. I > want a plugins folder /project/plugins which is shared by all my cake > apps). > > I am not sure what is supposed to go in the bootstrap file, I've tried > (after reading a few different sites): > > $pluginPaths = array('/project/plugins/',); > > and > > App::build(array( > 'plugins' => array('/project/plugins/', '/var/www/vhosts/site.com/ > app/plugins/ <http://site.com/%0Aapp/plugins/>') > )); > > Attempting the second method results in the following error messages: > > Warning (2): file_exists() [function.file-exists]: open_basedir > restriction in effect. File(/project/plugins/) is not within the > allowed path(s): (/var/www/vhosts/site.com/httpdocs:/var/www/vhosts/ > site.com/app:/usr/share/cake) [CORE/cake/libs/folder.php, line 111] > > and > > Warning (2): is_dir() [function.is-dir]: open_basedir restriction in > effect. File(/project/plugins/) is not within the allowed path(s): (/ > var/www/vhosts/site.com/httpdocs:/var/www/vhosts/site.com/app:/usr/ > share/cake<http://site.com/httpdocs:/var/www/vhosts/site.com/app:/usr/%0Ashare/cake>) > [CORE/cake/libs/folder.php, line 141] > > Any guidance of the issue would be greatly appreciate > > Regards > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > -- Regards, Zaky Katalan-Ezra QA Administrator www.IGeneriX.com Sites.IGeneriX.com 054-7762312 Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" 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
