mirror of
https://github.com/Pathduck/gallery3.git
synced 2024-10-29 21:07:18 -04:00
Apply local fix for Kohana ticket 2276.
This commit is contained in:
parent
94cd07805d
commit
3643706a2e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user