Re: App::import() in 2.x

2012-02-28 Thread lowpass
I find it odd that Nick used a class for this in the first place, as it only has a single array of options. It's loaded in both the component and behavior. I think it would be simpler to just put all of this in the plugin's bootstrap so I'll try rewriting it like that. -- Our newest site for the

Re: App::import() in 2.x

2012-02-28 Thread lowpass
On Tue, Feb 28, 2012 at 5:15 PM, Tilen Majerle wrote: > App::uses('FileUploadSettings', 'FileUpload.Config'); Oh, I'm a dolt. I was forgetting that it's not a configuration file, but a class. But it still doesn't work. I get class not found on the line with: $FileUploadSettings = new FileUpload

Re: App::import() in 2.x

2012-02-28 Thread Tilen Majerle
App::uses('FileUploadSettings', 'FileUpload.Config'); -- Lep pozdrav, Tilen Majerle http://majerle.eu 2012/2/28 lowpass > App::import('FileUploadSettings', 'FileUpload.Config'); > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP