CCALI / a2jauthor

CALI A2JAuthor document automation authoring and viewing platform
https://www.a2jauthor.org
Other
4 stars 1 forks source link

throw explicit unhandled exceptions for bad configs. No magic defaults. #133

Open tobiasnteireho opened 3 years ago

tobiasnteireho commented 3 years ago

Having no magic defaults would make administration considerably more easy.

These are the keys that should throw an error. Minimum should throw an error on missing or empty keys. Ideal would also throw error on key that does not make sense, e.g. path does not actually contain expected item.

CAJA_WS_URL
GUIDES_DIR
GUIDES_URL
isProductionServer
LOCAL_USER
SQL_HOST
SQL_USERNAME
SQL_PASSWD
SQL_DBNAME
SQL_PORT
DRUPAL_ROOT_DIR
DRUPAL_HOST
DRUPAL_USERNAME
DRUPAL_PASSWD
DRUPAL_DBNAME
DRUPAL_PORT
DB_NAME
DB_USER
DB_PASSWORD
DB_HOST
DB_PORT
D7_DB_NAME
D7_DB_USER
D7_DB_PASSWORD
D7_DB_HOST

related to CCALI/CAJA#1962