]> git.pld-linux.org Git - packages/dokuwiki-plugin-code.git/commitdiff
- our dw uses external genshi
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 28 Jan 2009 14:04:02 +0000 (14:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki-plugin-code-geshi.patch -> 1.1

dokuwiki-plugin-code-geshi.patch [new file with mode: 0644]

diff --git a/dokuwiki-plugin-code-geshi.patch b/dokuwiki-plugin-code-geshi.patch
new file mode 100644 (file)
index 0000000..0816af1
--- /dev/null
@@ -0,0 +1,29 @@
+--- code/syntax.php~   2009-01-28 15:50:10.000000000 +0200
++++ code/syntax.php    2009-01-28 15:51:08.389855693 +0200
+@@ -10,7 +10,7 @@
+       // Include parent class:
+       require_once(DOKU_PLUGIN . 'syntax.php');
+       // We're dealing with "GeSHi" here, hence include it:
+-      require_once(DOKU_INC . 'inc/geshi.php');
++      require_once '/usr/share/php/geshi.php';
+ /**
+  * <tt>syntax_plugin_code.php </tt>- A PHP4 class that implements the
+@@ -864,7 +864,7 @@
+                                       $aRenderer->doc .= '</pre>';
+                               } else {
+                                       $isSH = ('bash' == $aData[2]);
+-                                      $geshi = new GeSHi($aData[1], $aData[2], GESHI_LANG_ROOT);
++                                      $geshi = new GeSHi($aData[1], $aData[2]);
+                                       if ($geshi->error()) {
+                                               // Language not supported by "GeSHi"
+                                               $geshi = NULL;  // release memory
+@@ -998,7 +998,7 @@
+                                               $aData[3], $aData[0]);
+                               } else {
+                                       $isSH = ('bash' == $aData[2]);
+-                                      $geshi = new GeSHi($aData[1], $aData[2], GESHI_LANG_ROOT);
++                                      $geshi = new GeSHi($aData[1], $aData[2]);
+                                       if ($geshi->error()) {
+                                               // Language not supported by "GeSHi"
+                                               $geshi = NULL;  // release memory
This page took 0.082832 seconds and 4 git commands to generate.