ZenphotoCMS Forum
Unable to remove symlink'ed images - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Unable to remove symlink'ed images (/thread-1581.html)



Unable to remove symlink'ed images - quietdragon - 2007-08-06

I've populated an album directory using symlinks (ln -s ...).

Attempting to delete the symlink'ed image via the admin interface doesn't seem
to work (I'm using ).

I searched for unlink, and see one usage in class-gallery.php (@unlink($filename))
and another in class-image.php (unlink($this->localpath)).

I think it's the latter that should be deleting the symlink'ed image. The PHP
documentation suggests that unlink() should remove symlinks, so I'm perplexed
as to why the symlink remains.