diff options
-rw-r--r-- | inc/parser/xhtml.php | 5 | ||||
-rw-r--r-- | tpl/default/main.php | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index ca8f08990..db7b4e64e 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -30,7 +30,6 @@ class Doku_Renderer_XHTML { var $entities = array(); var $interwiki = array(); - //@todo why ob? function document_start() { ob_start(); } @@ -276,8 +275,8 @@ class Doku_Renderer_XHTML { } else { // Handle with Geshi here (needs tuning) - require_once(DOKU_INC . 'geshi.php'); - $geshi = new GeSHi($text, strtolower($language), DOKU_INC . 'geshi'); + require_once(DOKU_INC . 'inc/geshi.php'); + $geshi = new GeSHi($text, strtolower($language), DOKU_INC . 'inc/geshi'); $geshi->enable_classes(); $geshi->set_header_type(GESHI_HEADER_PRE); $geshi->set_overall_class('code'); diff --git a/tpl/default/main.php b/tpl/default/main.php index edbb39c9a..26b614798 100644 --- a/tpl/default/main.php +++ b/tpl/default/main.php @@ -126,3 +126,4 @@ </div> <?/*old includehook*/ @include(dirname(__FILE__).'/footer.html')?> </body> +</html> |