compatibility with php 5.4
Merge branch 'master' of https://github.com/hashmode/Tinymce-Image-Upload-Cakephp