Fixes override of environment by config files
authorBrett Parker <arch@sommitrealweird.co.uk>
Mon, 25 Apr 2005 20:01:52 +0000 (20:01 +0000)
committerBrett Parker <arch@sommitrealweird.co.uk>
Mon, 25 Apr 2005 20:01:52 +0000 (20:01 +0000)
commit5dfa164c5bb6569ee7aee25bf6d281d8faf366cb
treefe1a3ad6afdc9a6cedc10b9c9f05f57d7390305b
parentf880a0deea6b006f8d90c0f4ee15b1582f41bfee
Fixes override of environment by config files

Config files now have a lower priority than than the environment, so if BPGALLERY_THEME is set in the config, and you declare it on the command line, it does the right thing (previously it ignored the version on the command line). Also locked the functions for the default theme so that other theme files can not overload them.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-6
bpgallery.sh