added private and public dir support
removed gitignore in photos
updated gitignore
added gitignore for public and private dirs
updated config.php