use another image directory

edified

Joined: 2009-10-15
Posts: 1
Posted: Thu, 2009-10-15 03:42

I haven't found a setting for changing G3's storage location. "var" is kind of inelegant and non-descriptive, is it changeable or it it hard coded?

Thanks!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22892
Posted: Thu, 2009-10-15 04:25

It is not configurable. Why is it inelegeant?
FAQ: Are my photos secure? They're right there on my website!
There is a task for this to be configurable but it is not a priority at this time.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2009-10-15 21:47

I've have to ask to be sure, but I'm guess it was named 'var' based on:
http://www.tuxfiles.org/linuxhelp/linuxdir.html

Quote:
This directory contains variable data that changes constantly when the system is running.

That's a standard name of a standard directory on all Linux based systems. On any standard install of Ubuntu, Debian, Fedora and a few other distributions I've played with /var is where your website files get put by default.

It also contains more than just your images, it contains log files, temporary stuff, and other data. So renaming it to something like "images" or "albums" would be even more inelegant and non-descriptive. Using var, if you have an understanding of the Linux file system is actually a lot more descriptive of what that directory does.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here