<?php
// $Id: settings.php.tmpl,v 1.8 2003/12/30 04:51:17 rufustfirefly Exp $
// $Author: rufustfirefly $
define ('INSTALLATION', "Stock FreeMED Install"); // installation name
define ('DB_HOST', "localhost"); // database (SQL) host location
define ('DB_NAME', "freemed"); // database name
define ('DB_USER', "root"); // SQL server username
define ('DB_PASSWORD', "password"); // SQL server password
define ('PHYSICAL_LOCATION', "/usr/share/freemed");
define ('PHPWEBTOOLS_LOCATION', "/usr/share/phpwebtools");
define ('PATID_PREFIX', "PAT"); // used to generate internal practice ID
define ('BUG_TRACKER', false); // set bug tracker on or off
define ('TEMPLATE', "default"); // set default template
define ('HOST', 'localhost'); // host name for this system
define ('BASE_URL', '/freemed'); // offset (i.e. http://here/package)
define ('HTTP', 'http'); // http for normal, https for SSL
define ('SESSION_PROTECTION', true); // strong session protection?
define ('DEFAULT_LANGUAGE', "en_US"); // default language
define ('ALWAYS_SELFTEST', true); // We can check the health of the database etc, at every login...
define ('ALWAYS_LANGUAGE_BAR', true); // Do we always display the language selection bar?
define ('INIT_ADDR',"127.0.0.1"); // this is the only IP address that can run the init wizard...
// Logging settings
// Reasonable defaults!
define ('LOG_HIPAA', true); // This turns on all the logging required by HIPAA
// Which is alot, but this should be the default
// If you want to configure other log levels you
// can do so here
// Useful Tweaks
define ('LOG_LOGIN', true); // This will force logging of login attempts
// Powerful and dangerous debugging
define ('LOG_MD5ATTEMPTS', false); // This is a dangerous tool to test authentication
// DO NOT turn this on for a production system
// this will put crackable passwords in the logs
define ('LOG_SQL', false); // This logs the SQL Statments that have been entered
// This is usefull for debugging why something is messing
// the database!!
define ('LOG_ERRORS', true); // This logs major errors, this should be on by default!!
// Debug Logging DONT CHANGE LEVEL FROM 100 IN A PRODUCTION SYSTEM!!
// This allows developers to have a pretty accurate
// idea of whats gone....
// I have impleneted log levels
// Only define on of these
//define ('LOG_LEVEL',0); // Log level zero logs everything!!(avoid)unless you are Fred or Jeff
//define ('LOG_LEVEL',1); // Log level one logs everything reasonable
//define ('LOG_LEVEL',2); // Log all class traversals
//define ('LOG_LEVEL',3); // Log all page traversals (except for certain initiations)
//define ('LOG_LEVEL',4); // Log all database querys, this accelerates database debugging!!
//define ('LOG_LEVEL',99); // Typical logging
//define ('LOG_LEVEL',100); // Logs nothing except what is explicitly itemized (like LOG_HIPPA)
// this should be the default when not coding...
// Set log level
define('LOG_LEVEL', 100);
// GPG settings
//
// customize if you are using the db backup maintenance module with
// pgp. for keyring, you need to as root create /home/nobody,
// chown nobody:nobody /home/nobody
// su nobody
// export HOME=/home/nobody; cd $HOME
// use GPG to encrypt a file, run it twice
// you should now have /home/nobody/.gpg
define ('USE_GPG', false); // encrypt backups? (true/false)
define ('GPG_PASSPHRASE_LOCATION', PHYSICAL_LOCATION.'/lib/gpg_phrase.php');
define ('GPG_HOME', "/home/nobody");
define ('FSF_USERNAME', 'demo');
define ('FSF_PASSWORD', 'demo');
?>