I've tried in the past, and the best I can get is an output of the PHP code 
on the page (yikes!)

I assume this is because CakePHP is only designed to serve static assets 
from alternate webroots (since Apache doesn't know about them and can't 
display static assets from them).

Would it be possible to tell Cake to pass *.php files to the PHP executable 
so that it can display the output, or wouldn't that work anyway?

My plugin uses a Vendor directory containing a library which has its own 
webroot. I figured I'd just copy that webroot into the plugin's 'webroot' 
folder, but obviously that doesn't work--I had to copy the directory to my 
app's webroot directory, which sort of defeats the purpose of using a plugin 
to add the functionality.

Any other ways to serve a third-party library's PHP files from within a 
plugin somewhere under the webroot?

Thanks,

Ben

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to