From 32701fcf0c5f0e54d7172ceb86e44664aa4bae10 Mon Sep 17 00:00:00 2001 From: murphy Date: Mon, 20 Apr 2009 21:19:41 +0000 Subject: New: *PHP and SQL Scanners* * Both not well tested yet, preview versions. * Some example code for both languages. * PHP scanner original by Stefan Walk. * SQL scanner using code by Keith Pitt and Josh Goebel. --- lib/coderay/helpers/file_type.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/coderay/helpers') diff --git a/lib/coderay/helpers/file_type.rb b/lib/coderay/helpers/file_type.rb index 7f472d6..3b57608 100644 --- a/lib/coderay/helpers/file_type.rb +++ b/lib/coderay/helpers/file_type.rb @@ -96,6 +96,10 @@ module FileType 'json' => :json, 'mab' => :ruby, 'patch' => :diff, + 'php' => :php, + 'php3' => :php, + 'php4' => :php, + 'php5' => :php, 'py' => :python, 'py3' => :python, 'pyw' => :python, @@ -105,6 +109,7 @@ module FileType 'rbw' => :ruby, 'rhtml' => :rhtml, 'sch' => :scheme, + 'sql' => :sql, 'ss' => :scheme, 'xhtml' => :xhtml, 'xml' => :xml, -- cgit v1.2.1