Update of /cvsroot/phpcvsview/phpcvsview/geshi
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10409/geshi
Modified Files:
geshi.php
Log Message:
Fix for the highlighter auto-detection based on file extension where there is no file extension.
Index: geshi.php
===================================================================
RCS file: /cvsroot/phpcvsview/phpcvsview/geshi/geshi.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** geshi.php 22 Dec 2004 11:06:00 -0000 1.2
--- geshi.php 23 Jan 2005 00:54:06 -0000 1.3
***************
*** 2455,2459 ****
);
! $highlighter = $highlightmappings[$fileExtension];
if ($highlighter == null) {
$highlighter = "";
--- 2455,2459 ----
);
! @$highlighter = $highlightmappings[$fileExtension];
if ($highlighter == null) {
$highlighter = "";
|