diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2014-03-20 21:16:59 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2014-03-21 10:08:16 +0100 |
| commit | d3d5bb1dfc21ac30b77fc4484ff942d0a9100275 (patch) | |
| tree | d6398d9f762a53aea52e8685916f80ec05f8220b /templates/styles.css | |
| parent | 050e064c40dafe1e90307870e02ad29815fe9f74 (diff) | |
| download | cataract-d3d5bb1dfc21ac30b77fc4484ff942d0a9100275.tar.xz | |
Make setup files versioned and add fallback for old versions
This commit makes setup files (setup.xml and referenced design
setup xml file) versioned and adds checks for correct versions.
If a newer versioned file is detected, warning is printed out
in assumption that a stray cgg version is used.
If the version information is missing or is lower than expected
version, files are read in legacy mode. Some values are left
on defaults and missing mandatory values are either read from
renamed keys or made up to suit current requirements.
This essentially brings back compatibility with old setup.xml
files that are usually part of galleries.
However, some values are hardcoded and should be kept in mind
to update and test the legacy mode along with future enhancements.
Diffstat (limited to 'templates/styles.css')
0 files changed, 0 insertions, 0 deletions
