tmccormi wrote on Tuesday, December 22, 2009:
The file globals.php is a big pile of tweaks for all kinds of things and includes some stuff should not be edited by, well, pretty much anyone.
So, first and easiest, I propose the the stuff that shouldn’t be edited be changed to be an include file - static_configs.inc or similar and be kept in the includes dir with config.php
Then we start moving the optional config setting to a table, or at the very least as set of 'if exists, includes for each category… Right now the globals is getting to be a unordered jumble of add ons and customizations that could be separated into categories.
Heres some ideas:
- OS Setting and Paths Installation
- Openemr Settings and Paths (mutil-host, multi clinic etc)
- Look and feel Settings (navigations,
styles)
- Optional Standard Features
- Business Type features (sport med,
psych, dentists, veterinarians)
- Customer Specific features/customizations
<br>
This files would also be includes in the includes directory.
Thoughts?
Tony