Re: Cake Vendors directory access?

2007-11-21 Thread avairet
Hello and thank's for help! My vendor call is: vendor('file_name'); Not including .php in the call. My file is not in a subfolder, but my Cake's core folder and my App folder and Webroot are separate. I'm using Cake 1.2.0.5875 pre-beta, on Windows XP with Apache 2/PHP 5.2/MySQL 5. I will test

Cake Vendors directory access?

2007-11-20 Thread avairet
Hello, If I put a php file in cake/vendors directory, when I try to include it by using vendor(my_php_file) in a controller or a helper, this doesn't work... I must put my php file in app/vendors directory to access it. So to share an external PHP library in all my cake applications, I must copy

Re: Cake Vendors directory access?

2007-11-20 Thread Grant Cox
I have no idea why it doesn't work for you, it works fine here. Are you sure you aren't including the .php part of the filename in your vendor call? Is your file in a subfolder or anything? What version of Cake are you using? The vendor() function is defined in /cake/basics.php, and is not