Closed Thoronador closed 12 years ago
already implemented (todo: cleanup old tables)
Ah, I was not aware of that.
However, as far as I can see it, that change seems to be implemented for some selected configurations only (global/general and search configuration). There are several admin CP scripts that still use configuration tables. Among them are:
All the related configuration tables should get a similar replacement, something like the global configuration already has, or something like described above.
The remaining editor_config table and all the others one line tables are listed in Issue #64 and will be replaced when the regarding code is re-factored.
Most configuration tables should be replaced by (PHP) configuration files. Those files could look like this:
Instead of doing a full SQL query every time just include the config file and call getGlobalConfig() instead. As an added bonus, this should also be a little bit faster than executing a database query every time the configuration settings are requested (which usually happens for every page load).