View Single Post
Old 1st August 2012, 11:02
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

I had planned to use the sys_config table as general key value store and to implement user defined overrides for default values with it ( The sys_ini system that we use for server and interface values at the moment is easy and works fine, but in case that we reach the limits of the ini style storage in future (e.g. requirements for multiline values), it might be migrated to sys_config values as well.

EDIT/ADD: Or a new table? Like 'sys_tpl' ?
Thats an option too. But then we might have to write some kind of script in the installer / updater that automatically detects the existing themes and adds them to this table, so that we replace the current "scan dir" like functionality for themes with a table that holds the details of the themes and some default values..

Which values do you plan to store for the theme?
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from
Reply With Quote