Patch for deleting yapig datafiles
Status: Abandoned
Brought to you by:
natasab
Until 0.93 (included), yapig creates files with the
default user mask, so if the web server config does not
care about this makes impossible to delete files
created using the script, with this patch we solve it.
The steps to follow are these:
1) upload perm.php file in the photos/ directory.
2) open on your browser:
http://path.to.yapig/photos/perm.php
3) check with your ftp client it worked.
4) delete perm.php
5) add on config.php the line
umask(0); // this avoids having this
problem again.
Regards. bNaTaSaB
patch script (perm.php)