[FLOW3-general] Accessing resources from classes

Zachary Davis, Cast Iron Coding LLC zach at castironcoding.com
Wed Dec 2 13:55:51 CET 2009


Robert Lemke wrote:

> However, if you would like to access a file in the Resources folder of package "Foo", you can use FLOW3's stream handler for this:
> 
> $content = file_get_contents('package://Foo/Private/My/SpecialFile.txt');
>

Exactly what I was looking for. Thanks, Robert!

Zach


More information about the FLOW3-general mailing list