Fixing issue 74

This commit is contained in:
Nathan Adams
2014-12-21 13:54:06 -06:00
parent f597b1ac25
commit 7a8b6343f8
3 changed files with 2419 additions and 31 deletions

View File

@@ -148,7 +148,7 @@ class IDF_FileUtil
// a list of extensions that we know
// And document the types best we can:
// po is a translation file in indefero - tried text/plain but the syntax highlight JS library didn't like it
$ext_hack = array("po" => "application/octet-stream");
$ext_hack = array("po" => "text/plain");
$info = pathinfo($file);
$res = array('application/octet-stream',
$info['basename'],