Tuesday, February 28, 2012

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

On Tue, Feb 28, 2012 at 5:15 PM, Tilen Majerle <tilen.majerle@gmail.com> 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 FileUploadSettings;

--
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: