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
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
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