From: Christian Weiske Date: Wed, 22 Aug 2012 19:45:01 +0000 (+0200) Subject: Merge remote-tracking branch 'skl85/hotfix-extautodetect' X-Git-Tag: v0.3.0~53 X-Git-Url: https://git.cweiske.de/phorkie.git/commitdiff_plain/c1ab5bf5ad85fee72dca6c6cea3bffef3003a1cb?hp=69224ffe6ff27067bae63f3155d84a1dbe82948b Merge remote-tracking branch 'skl85/hotfix-extautodetect' --- diff --git a/src/phorkie/Repository/Post.php b/src/phorkie/Repository/Post.php index fe2372f..de987e0 100644 --- a/src/phorkie/Repository/Post.php +++ b/src/phorkie/Repository/Post.php @@ -197,7 +197,7 @@ class Repository_Post protected function findExtForType($type) { - $ext = 'text/plain'; + $ext = 'txt'; foreach ($GLOBALS['phorkie']['languages'] as $lext => $arLang) { if ($arLang['mime'] == $type) { $ext = $lext;