Closed michelef closed 7 years ago
I changed in the table to
$this->addBehavior('Josegonzalez/Upload.Upload', [
'attachment' => [
'fields' => [
'dir' => 'attachments', // defaults to `dir`
'maxSize' => '102097152',
],
],
]);
What I ended up doing is increase file size in php.ini But still wandering why the above does not work Thanks
Changing the option in the plugin does not change the php.ini setting. The setting in the plugin allows you to set the max file size lower than the php.ini's setting for a particular upload.
Thanks! I had misunderstood the function of the option. Thanks also for a great plugin.
is there a size limit to the file. I can upload small pdf less than 1MB but larger files fail with no error