[symfony-users] Re: sfWidgetFormInputFileEditable: where is the code that removes the file?

2010-06-03 Thread pghoratiu
Check your class inheritance tree, it's defined in one of your ORM's
base classes,
depending on what you use:
Propel: symfony/lib/plugins/sfPropelPlugin/lib/form/
sfFormProppel.class.php
Doctrine: symfony/lib/plugins/sfDoctrinePlugin/lib/form/
sfFormDoctrine.class.php

Search for unlink().

gabriel

On Jun 3, 7:31 pm, Javier Garcia tirengar...@gmail.com wrote:
 Hi,

 by default, when you replace a file using sfWidgetFormInputFileEditable,
 the old file is removed from your hard disk.

 Where is that code that removes the file??

 --
 Javi

 Ubuntu 8.04 - Symfony 1.3

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: sfWidgetFormInputFileEditable: where is the code that removes the file?

2010-06-03 Thread Javier Garcia

On 06/03/2010 06:45 PM, pghoratiu wrote:

symfony/lib/plugins/sfDoctrinePlugin/lib/form/
sfFormDoctrine.class.php
   


Thanks

--
Javi

Ubuntu 8.04 - Symfony 1.3

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en