Update AttachImage.php

Check uploaded file format by mime type (fileinfo extension). Попытка номер 2
fixed warning 'The /e modifier is deprecated, use preg_replace_callback instead'
little review fix
Warning: "The /e modifier is deprecated, use preg_replace_callback instead"
Returned old preg-delimiter back
more fixes
Review fix
Merge pull request #165 from negram/deprecated-pcre-codetag

Deprecated pcre codetag
Merge pull request #163 from negram/deprecated-pcre-smileparser

fixed warning 'The /e modifier is deprecated, use preg_replace_callback ...
Merge pull request #160 from SerafimArts/patch-2

Update AttachImage.php
bug: обработка русских символов в code

Бага в обращении к символу строки как к элементу массива, которая в принципе не понимает мультибайтовых символов.
Update AttachImage.php

Remove use statment for root namespace
Merge pull request #171 from Jureth/patch-1

bug: обработка русских символов в code
Merge pull request #172 from SerafimArts/patch-1

Update AttachImage.php
Merge branch 'devel'