Commits

Georg Brandl  committed 442ddad

Closes #832: recognize *.inc as PHP code.

  • Participants
  • Parent commits 6e5ff6e

Comments (0)

Files changed (1)

File pygments/lexers/web.py

 
     name = 'PHP'
     aliases = ['php', 'php3', 'php4', 'php5']
-    filenames = ['*.php', '*.php[345]']
+    filenames = ['*.php', '*.php[345]', '*.inc']
     mimetypes = ['text/x-php']
 
     flags = re.IGNORECASE | re.DOTALL | re.MULTILINE