media table's prefix
check not writable "files" folder
key_exists is depricated
Merge pull request #56 from ghost098/master

title!