From 51c546a917b3b8a24d1339fc16d8f2398a293ddf Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Thu, 26 Oct 2006 22:39:42 +0200 Subject: GeSHi 1.0.7.15 update darcs-hash:20061026203942-7ad00-6db8c37c1fba1d274fa6bcdc7cbb245d088325a5.gz --- inc/geshi.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'inc/geshi.php') diff --git a/inc/geshi.php b/inc/geshi.php index bbed187e0..29bed3228 100644 --- a/inc/geshi.php +++ b/inc/geshi.php @@ -29,7 +29,7 @@ * @author Nigel McNie * @copyright Copyright © 2004, 2005, Nigel McNie * @license http://gnu.org/copyleft/gpl.html GNU GPL - * @version $Id: geshi.php,v 1.40.2.8 2006/08/22 10:42:32 oracleshinoda Exp $ + * @version $Id: geshi.php,v 1.40.2.10 2006/10/23 01:54:16 oracleshinoda Exp $ * */ @@ -41,7 +41,7 @@ // /** The version of this GeSHi file */ -define('GESHI_VERSION', '1.0.7.14'); +define('GESHI_VERSION', '1.0.7.15'); /** Set the correct directory separator */ define('GESHI_DIR_SEPARATOR', ('WIN' != substr(PHP_OS, 0, 3)) ? '/' : '\\'); @@ -2720,7 +2720,7 @@ if (!function_exists('geshi_highlight')) { * @return string The code highlighted (if $return is true) * @since 1.0.2 */ - function geshi_highlight ($string, $language, $path, $return = false) + function geshi_highlight ($string, $language, $path = null, $return = false) { $geshi = new GeSHi($string, $language, $path); $geshi->set_header_type(GESHI_HEADER_NONE); -- cgit v1.2.3