git.cweiske.de
/
phorkie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a15f432
)
Fixed bug where autodetect fails, wrong default set.
author
Stephen Lang
<info@skl.me>
Wed, 22 Aug 2012 12:54:09 +0000
(13:54 +0100)
committer
Stephen Lang
<info@skl.me>
Wed, 22 Aug 2012 12:54:09 +0000
(13:54 +0100)
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;