[Catalyst] File-browser functionality

Kieren Diment diment at gmail.com
Fri Feb 29 11:45:11 GMT 2008


On 29 Feb 2008, at 22:13, Peter Sørensen wrote:

> Hi,
>
> I'm using catalyst and TT to develop a system, where
> it is possible to search in system logfiles based
> on predefined regex.
>
> I need a way to BROWSE on the server filesystem.
>
> I can use the directory plugin in TT but before
> trying this I would ask if any other solutions
> are around.
>

*Displaying* the directory is clearly view related so your solution  
is to  sanitise the path in the controller then use the template  
plugin to display it.  Problem solved, two lines of code, everyone is  
happy.


More information about the Catalyst mailing list