Stop user from deleting a set file name not working |
I have a file in two locations called no_image.jpg When user try's to delete the image I would like to be able to stop the user from deleting just that image.
But for some reason the image still gets delete How can I make it stop deleting image if file is no_image.png PHP Code: public function delete() { Any examples on how to solve it would be great.
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
Stop user from deleting a set file name not working - by wolfgang1983 - 10-10-2015, 12:26 AM
RE: Stop user from deleting a set file name not working - by JayAdra - 10-10-2015, 12:29 AM
RE: Stop user from deleting a set file name not working - by wolfgang1983 - 10-10-2015, 12:52 AM
RE: Stop user from deleting a set file name not working - by wolfgang1983 - 10-10-2015, 01:14 AM
|