Bug Report #3583
Inconsistent returning of array of found files in Kohana::Find_File when Caching is enabled
| Status: | Closed | Start date: | 01/13/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | Core | |||
| Target version: | v3.0.10 | Estimated time: | 0.50 hour | |
| Resolution: | duplicate | Points: |
Description
When trying to find an array of files using Kohana::Find_File() with caching enabled, the cache only accounts for the path and not the setting for an array. For example, if we find the prevalent
$file = Kohana::find_file('views','_template/default');
This returns a single string path to the file.
$files = Kohana::find_file('views','_template/default',NULL,TRUE);
With caching disabled, this returns an array of available templates. With caching enabled, $files is the same as $file.
Related issues
History
Updated by Jeremy Bush about 2 years ago
- Status changed from New to Closed
- Resolution set to duplicate