summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-03-31 17:55:32 +0200
committerandi <andi@splitbrain.org>2005-03-31 17:55:32 +0200
commit7196b54129bb4bdc58761a19ba279ff0675a67bf (patch)
tree8c818c0e6eb15663548f28f94575971aaa3a550b
parentde3dfc910ca799f2c130c4d36d516dc7139b4e61 (diff)
downloadrpg-7196b54129bb4bdc58761a19ba279ff0675a67bf.tar.gz
rpg-7196b54129bb4bdc58761a19ba279ff0675a67bf.tar.bz2
smaller fixes
darcs-hash:20050331155532-9977f-845bfca3ed35f06dcc52519bbb2e245e3e920213.gz
-rw-r--r--inc/parser/xhtml.php5
-rw-r--r--tpl/default/main.php1
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>