Hung update for photo.php, permission for delete photo, ect...
Merge branch 'master' of https://github.com/tinapc/dead-project