You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but because it's a plugin, you're not loading the Upload model within your plugin but the default AppModel of the application you're running. Changes made in the plugins Upload model will be useless because that's not the model you're using.
I've found a small issue in the UploadComponent on line 27.
You've got:
$this->UploadModel = ClassRegistry::init('Upload');
but because it's a plugin, you're not loading the Upload model within your plugin but the default AppModel of the application you're running. Changes made in the plugins Upload model will be useless because that's not the model you're using.
Change it to:
$this->UploadModel = ClassRegistry::init('FileUpload.Upload');
In this case you are using the Upload model inside the plugin so changes (like $useTable) will have it's effects when you want it to.
The text was updated successfully, but these errors were encountered: