Chas,

Why dont you simply use property configuration based on the run mode?

Cheers, Tim

On Feb 23, 5:42 am, "Charles F. Munat" <[email protected]> wrote:
> I am doing file uploads to several of my sites. Right now, I've hard
> coded the path to the directory to which the files are saved. This is a
> pain because it's not the same directory on the production server as it
> is on the dev server.
>
> How can I grab the current path so I can work with that? Or is there a
> better way? For example, if I had an /images/ directory in my web root,
> how would I save uploaded images to that directory?
>
> Thanks,
> Chas.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to