The idea is to be able to modify some of the constants in the config.php from the admin panel. Not actually the file itself, but perhaps creating a KBaseAdmin page, add a form that updates a table in the database, then in the header get the table data and define the constants dynamically.

That's my approach. Do you guys have a better approach?