]> git.pld-linux.org Git - packages/dokuwiki-plugin-code.git/blob - dokuwiki-plugin-code-geshi.patch
- BR: unzip
[packages/dokuwiki-plugin-code.git] / dokuwiki-plugin-code-geshi.patch
1 --- code/syntax.php~    2009-01-28 15:50:10.000000000 +0200
2 +++ code/syntax.php     2009-01-28 15:51:08.389855693 +0200
3 @@ -10,7 +10,7 @@
4         // Include parent class:
5         require_once(DOKU_PLUGIN . 'syntax.php');
6         // We're dealing with "GeSHi" here, hence include it:
7 -       require_once(DOKU_INC . 'inc/geshi.php');
8 +       require_once '/usr/share/php/geshi.php';
9  
10  /**
11   * <tt>syntax_plugin_code.php </tt>- A PHP4 class that implements the
12 @@ -864,7 +864,7 @@
13                                         $aRenderer->doc .= '</pre>';
14                                 } else {
15                                         $isSH = ('bash' == $aData[2]);
16 -                                       $geshi = new GeSHi($aData[1], $aData[2], GESHI_LANG_ROOT);
17 +                                       $geshi = new GeSHi($aData[1], $aData[2]);
18                                         if ($geshi->error()) {
19                                                 // Language not supported by "GeSHi"
20                                                 $geshi = NULL;  // release memory
21 @@ -998,7 +998,7 @@
22                                                 $aData[3], $aData[0]);
23                                 } else {
24                                         $isSH = ('bash' == $aData[2]);
25 -                                       $geshi = new GeSHi($aData[1], $aData[2], GESHI_LANG_ROOT);
26 +                                       $geshi = new GeSHi($aData[1], $aData[2]);
27                                         if ($geshi->error()) {
28                                                 // Language not supported by "GeSHi"
29                                                 $geshi = NULL;  // release memory
This page took 0.106269 seconds and 3 git commands to generate.