How to get database acess inside files in vendors folder(app/vendors) in Cake Php, get mysql connected via database.php (Cake structure) .
How to get Configure method inside vendors folder(app/vendors), when we want to set a constant in core.php by Configure.write method .
I created a file 'testvideo.php' inside vendors folder (app/vendors/ZendGdata/library/testvideo.php)
I want to get acess of my databse from this file and Configure method.