git.cweiske.de
/
phorkie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
69224ff
)
Merge remote-tracking branch 'skl85/hotfix-extautodetect'
author
Christian Weiske
<cweiske@cweiske.de>
Wed, 22 Aug 2012 19:45:01 +0000
(21:45 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Wed, 22 Aug 2012 19:45:01 +0000
(21:45 +0200)
src/phorkie/Repository/Post.php
patch
|
blob
|
history
diff --git
a/src/phorkie/Repository/Post.php
b/src/phorkie/Repository/Post.php
index fe2372f67a1f80a50c60fa2ae12484966024c29d..de987e0a74fe07e70245c7cbd53df8e99957399d 100644
(file)
--- a/
src/phorkie/Repository/Post.php
+++ b/
src/phorkie/Repository/Post.php
@@
-197,7
+197,7
@@
class Repository_Post
protected function findExtForType($type)
{
- $ext = 't
ext/plain
';
+ $ext = 't
xt
';
foreach ($GLOBALS['phorkie']['languages'] as $lext => $arLang) {
if ($arLang['mime'] == $type) {
$ext = $lext;