ezrpg-legacy / ezRPG-1.2.x

ezrpgproject.net
8 stars 7 forks source link

Settings needs expansion #36

Open uaktags opened 8 years ago

uaktags commented 8 years ago

The engine is missing alot of configuration opportunities and holds onto too many hardcoded aspects. Obviously a Settings class will have to be created and initialized directly after the DBEngine, because it needs access to get all the settings, then pass it onto every Module and Hook before they spin up.

deohnas commented 7 years ago

The settings structure are kinda confusing. With groupings and actual settings value being in the same table.

How about having 2 tables:

setting_groups settings

deohnas commented 7 years ago

I would even argue for having configuration stored in plain PHP array files. Easier to debug.