@@ -200,11 +200,11 @@ discard block |
||
| 200 | 200 | 'mimefile' => '', |
| 201 | 201 | // mime type normalize map : Array '[ext]:[detected mime type]' => '[normalized mime]' |
| 202 | 202 | 'mimeMap' => array( |
| 203 | - 'md:application/x-genesis-rom' => 'text/x-markdown', |
|
| 204 | - 'md:text/plain' => 'text/x-markdown', |
|
| 205 | - 'markdown:text/plain' => 'text/x-markdown', |
|
| 206 | - 'css:text/x-asm' => 'text/css' |
|
| 207 | - ), |
|
| 203 | + 'md:application/x-genesis-rom' => 'text/x-markdown', |
|
| 204 | + 'md:text/plain' => 'text/x-markdown', |
|
| 205 | + 'markdown:text/plain' => 'text/x-markdown', |
|
| 206 | + 'css:text/x-asm' => 'text/css' |
|
| 207 | + ), |
|
| 208 | 208 | // directory for thumbnails |
| 209 | 209 | 'tmbPath' => '.tmb', |
| 210 | 210 | // mode to create thumbnails dir |
@@ -4070,14 +4070,14 @@ discard block |
||
| 4070 | 4070 | // } |
| 4071 | 4071 | |
| 4072 | 4072 | /** |
| 4073 | - * Find position of first occurrence of string in a string with multibyte support |
|
| 4074 | - * |
|
| 4075 | - * @param string $haystack The string being checked. |
|
| 4076 | - * @param string $needle The string to find in haystack. |
|
| 4077 | - * @param int $offset The search offset. If it is not specified, 0 is used. |
|
| 4078 | - * @return int|bool |
|
| 4079 | - * @author Alexey Sukhotin |
|
| 4080 | - **/ |
|
| 4073 | + * Find position of first occurrence of string in a string with multibyte support |
|
| 4074 | + * |
|
| 4075 | + * @param string $haystack The string being checked. |
|
| 4076 | + * @param string $needle The string to find in haystack. |
|
| 4077 | + * @param int $offset The search offset. If it is not specified, 0 is used. |
|
| 4078 | + * @return int|bool |
|
| 4079 | + * @author Alexey Sukhotin |
|
| 4080 | + **/ |
|
| 4081 | 4081 | protected function stripos($haystack , $needle , $offset = 0) { |
| 4082 | 4082 | if (function_exists('mb_stripos')) { |
| 4083 | 4083 | return mb_stripos($haystack , $needle , $offset); |