From e282c65bb05138f0d2181d94b9e05d656a402074 Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Wed, 17 Dec 2008 14:34:55 +0100 Subject: [PATCH] Added more text extensions. --- src/IDF/Views/Source.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IDF/Views/Source.php b/src/IDF/Views/Source.php index 1ea0b14..f613e32 100644 --- a/src/IDF/Views/Source.php +++ b/src/IDF/Views/Source.php @@ -401,7 +401,7 @@ class IDF_Views_Source if (0 === strpos($fileinfo[0], 'text/')) { return true; } - $ext = 'mdtext php js'; + $ext = 'mdtext php js cpp php-dist'; return (in_array($fileinfo[2], explode(' ', $ext))); }