summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2012-06-05 20:50:08 -0700
committerBharat Mediratta <bharat@menalto.com>2012-06-05 21:13:34 -0700
commitb7074ee59588b74ff4ebb77dd1281941a3c99778 (patch)
treee494f8dfdfe7a250bc753898e576f64303021a13 /modules
parent713a06f234837f7f79977ca08f3514ef763f572f (diff)
Clean file paths in Kohana_Exception::debug_path(). Fixes #1880.
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/libraries/MY_Kohana_Exception.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gallery/libraries/MY_Kohana_Exception.php b/modules/gallery/libraries/MY_Kohana_Exception.php
index dd04b25f..b74c80b1 100644
--- a/modules/gallery/libraries/MY_Kohana_Exception.php
+++ b/modules/gallery/libraries/MY_Kohana_Exception.php
@@ -94,4 +94,8 @@ class Kohana_Exception extends Kohana_Exception_Core {
}
return $result;
}
+
+ public static function debug_path($file) {
+ return html::clean(parent::debug_path($file));
+ }
} \ No newline at end of file