fix upload url
Limit uploaded files to jpeg and png formats.
Merge branch 'master' of http://git.oschina.net/luohao-brian/phonecms