summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-23 08:26:34 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-23 08:26:34 -0700
commite386aba77a650df706c820a8994869e537c1f9f8 (patch)
tree8fe0eec547c96513b6766ecb7bc96185ded33c34
parent69d2b3ce0814d27e9c976d5bd374399702bcd6a2 (diff)
parent3643706a2e9a0cef3c75ec82a6609726ab3421c7 (diff)
Merge branch 'master' into talmdal_dev
-rw-r--r--system/core/Kohana.php8
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;