[Seaside] referring to the current directory..
sergio_101
sergiolist at village-buzz.com
Sat Apr 17 20:02:44 UTC 2010
thanks to a good night's sleep and a little clarity.. i am finally
able to get my image file urls to work correctly.
here's one hitch i am having.
when saving my image record, i did this:
MAExternalFileModel baseDirectory: './public_html/images/'.
thinking that the '.' would reference the directory that my seaside
image lives in..
unfortunately, all calls i make to baseDirectory automatically make
'/' the root, rather than '.'.
any idea how i can do this? ie:
if my image is at:
~/Sites/MyApp
i would want to store the images at:
~/Sites/MyApp/public_html/images/
thanks!
--
----
peace,
sergio
photographer, journalist, visionary
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101
More information about the seaside
mailing list