thanks
but I want redirect anything :
'/media/aaa/', '/media/bbb/', '/media/ccc/', '/media/zzzzz/'
these method arenot exist in the 'media' controller
301 redirect cant do that good
I customize the "create" method
change and move these codes:
// process $_FILES
if (!$this->_process_uploads($posted))
{
$this->session->set_flashdata('error', get_error());
redirect(fuel_uri($this->module_uri.'/create/'));
…
ok, there is a ploblem in FUELcms
in fuel/controllers/module.app line 505:
else if ($id = $this->model->save($posted))
line 513:
if (!$this->_process_uploads($posted))
FUEL do create first then do the upload, so nomatter the image vali…
"is_allowed_dimensions" method works fine
and in fuel/controllers/module.app line 1453:
[code]
if (!$this->upload->do_upload($file))
{
$errors = TRUE;
add_error($this->upload->display_errors('', ''));
$this->session->…