diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2010-01-06 11:35:01 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-01-06 11:35:01 -0800 |
commit | a74fd27e5f238f91f39be14056692945eecedabc (patch) | |
tree | 6a4a3311536500b06178d5a8c620263b0130d3ea /system/core/Kohana_Exception.php | |
parent | 7778d4c05075e67f096d3d5365e5ae35e1b0a737 (diff) |
Updated Kohana to r4737
Diffstat (limited to 'system/core/Kohana_Exception.php')
-rw-r--r-- | system/core/Kohana_Exception.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/system/core/Kohana_Exception.php b/system/core/Kohana_Exception.php index 0cbc472c..bc0efd18 100644 --- a/system/core/Kohana_Exception.php +++ b/system/core/Kohana_Exception.php @@ -2,9 +2,7 @@ /** * Kohana Exceptions * - * $Id: Kohana_Exception.php 4726 2009-12-23 18:58:53Z isaiah $ - * - * @package Core + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license @@ -428,6 +426,9 @@ class Kohana_Exception_Core extends Exception { */ public static function debug_path($file) { + // Normalize directory separator + $file = str_replace('\\', '/', $file); + if (strpos($file, APPPATH) === 0) { $file = 'APPPATH/'.substr($file, strlen(APPPATH)); |