I have another problem, when i update the record, then the old photo
isn't deleted itself, but it remain in the filesystem. How can i
delete the old photo or replace it with the new photo?
I try:
public function postUpdate($event) {
@unlink(sfConfig::get('sf_upload_dir').'/immobi
I try the code and it's correct! I understand that this method is in
the Doctrine documentation, and also I found other useful methods...
Thanks!
On 24 Dic, 22:15, ilcaduceo wrote:
> Yes i'm storing file paths in the database and the photos in the
> filesystem... I'm using Doctrine but i don't fi
Yes i'm storing file paths in the database and the photos in the
filesystem... I'm using Doctrine but i don't find any information
about postDelete method in the documentation, however I try this
code... Happy Holydays!
On 24 Dic, 12:52, Alexandru-Emil Lupu wrote:
> If you are using sf 1.3 or. 1.