summaryrefslogtreecommitdiff
path: root/inc/geshi.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-10-26 22:39:42 +0200
committerAndreas Gohr <andi@splitbrain.org>2006-10-26 22:39:42 +0200
commit51c546a917b3b8a24d1339fc16d8f2398a293ddf (patch)
tree2b380eb97140a137215300a4820024f5bd323632 /inc/geshi.php
parentaa248fb5900797231e058b84f8c169b16a677e36 (diff)
downloadrpg-51c546a917b3b8a24d1339fc16d8f2398a293ddf.tar.gz
rpg-51c546a917b3b8a24d1339fc16d8f2398a293ddf.tar.bz2
GeSHi 1.0.7.15 update
darcs-hash:20061026203942-7ad00-6db8c37c1fba1d274fa6bcdc7cbb245d088325a5.gz
Diffstat (limited to 'inc/geshi.php')
-rw-r--r--inc/geshi.php6
1 files changed, 3 insertions, 3 deletions
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 <nigel@geshi.org>
* @copyright Copyright &copy; 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);