summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2009-07-26 20:50:25 +0200
committerAndreas Gohr <andi@splitbrain.org>2009-07-26 20:50:25 +0200
commitf9d4952b85ad1aa955550547c39cdae4df55d086 (patch)
tree7857dee6c98ab65b923597e95200af88ff46d829
parent28e7fbd08f1e4c6a7f6eacb7f99803db29f9efb8 (diff)
downloadrpg-f9d4952b85ad1aa955550547c39cdae4df55d086.tar.gz
rpg-f9d4952b85ad1aa955550547c39cdae4df55d086.tar.bz2
fixed filename support in <file> syntax
Ignore-this: 59bec5f55f7d0eb26d454d76da750142 darcs-hash:20090726185025-7ad00-1577f684e585c849fda9505ccad98735f0c7bb76.gz
-rw-r--r--inc/parser/code.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/parser/code.php b/inc/parser/code.php
index d2bcf7d42..4d94dcf4e 100644
--- a/inc/parser/code.php
+++ b/inc/parser/code.php
@@ -34,8 +34,8 @@ class Doku_Renderer_code extends Doku_Renderer {
/**
* Wraps around code()
*/
- function file($text) {
- $this->code($text);
+ function file($text, $language = NULL, $filename='') {
+ $this->code($text, $language, $filename);
}
/**