git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement request #12: DOAP documents for all pastes
[phorkie.git]
/
src
/
phorkie
/
Repository
/
Post.php
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;