[Solar-talk] use getimagesize() in a view

Jeff Surgeson solar at 3hex.com
Mon May 12 13:16:46 CDT 2008


> View helpers that use Solar_Uri_(Public) work only with URIs because
> the paths that they create are meant to be accessed with a browser,
> *not* with your code. That is, they create paths relative to the URI
> root. They don't map to your filesystem per se.
>
> Does that make sense?

> >  Maybe I am missing the plot here but I would have though that all the
> > existing public path helpers should cater for this, or am I bordering
> > again on the verge of a bad practice?
>
> Solar has no method to return a configured *full path*. You need to
> create one for your apps.

Thanks Guys, makes sense. :-D

-- 
...........::::::...........
Jeff Surgeson / South Africa


More information about the Solar-talk mailing list