Sorry.
That has to be in your model class
Alecs
sent via htc magic
On Dec 29, 2009 9:05 PM, "Alexandru-Emil Lupu" wrote:
Override your delete method to:
Public function delete(PropelPDO/ DoctrinePDO $con = null)
{
@unlink($this->getFilePath());
Parent::delete($con);
}
Or appropriate to f
Override your delete method to:
Public function delete(PropelPDO/ DoctrinePDO $con = null)
{
@unlink($this->getFilePath());
Parent::delete($con);
}
Or appropriate to fix full path to the file, and also the appropriate db
adaptor.
Alecs
sent via htc magic
On Dec 29, 2009 7:44 PM, "ilcaduceo"
Hi all, I'm using the sfWidgetFormInputFileEditable for simple
uploading of file in the filesystem and then storing name in the
database associated with a model, but I noticed that when I'm editing/
deleting the model the old images remain in the filesystem... I want
that when edit the image in the