diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-11-15 19:44:47 -0800 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-11-15 19:44:47 -0800 |
commit | 0733dc37fda27a5ba35f9020edf3c66aa41a95a0 (patch) | |
tree | 6877946232f1b01b1c8709054c689f6658cef34f /system/core | |
parent | 218493c50be9362d4abed6900a816308fee5d978 (diff) | |
parent | 9379308f91a476f790fb8d444536719535c584e4 (diff) |
Merge commit 'upstream/master'
Conflicts:
modules/gallery/tests/xss_data.txt
Diffstat (limited to 'system/core')
-rw-r--r-- | system/core/Kohana.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/system/core/Kohana.php b/system/core/Kohana.php index c934b12b..8027975d 100644 --- a/system/core/Kohana.php +++ b/system/core/Kohana.php @@ -325,6 +325,14 @@ final class Kohana { // Add SYSPATH as the last path self::$include_paths[] = SYSPATH; + + // Local fix for Kohana Ticket:2276 + self::$internal_cache['find_file_paths'] = array(); + if ( ! isset(self::$write_cache['find_file_paths'])) + { + // Write cache at shutdown + self::$write_cache['find_file_paths'] = TRUE; + } } return self::$include_paths; |