Globals.php Proposal

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

bradymiller wrote on Tuesday, December 22, 2009:

hey,

Will this satisfy Meaningful Use? :slight_smile: Here’s what I’m asking Santa for Christmas:

-brady

  : http://www.openmedsoftware.org/wiki/Active_Projects#Migrate_configuration_settings_into_OpenEMR_program

sunsetsystems wrote on Tuesday, December 22, 2009:

Migrating most configuration settings to an administrative GUI is already on my list of things to do.

Rod 
(http://www.sunsetsystems.com/)

tmccormi wrote on Wednesday, December 23, 2009:

Glad to hear it.  There is so much good stuff going on it’s hard to keep up!

Tony