diff --git a/conf/config.inc.php b/conf/config.inc.php index 7d344d6..6c9e9c6 100644 --- a/conf/config.inc.php +++ b/conf/config.inc.php @@ -1,23 +1,88 @@ +// Database username. +$DatabaseUsername = 'postgres'; + +// Database password. +//$DatabasePassword = 'password_here'; + +// Database name. +$DatabaseName = 'rosariosis'; + +// Database port: default is 5432. +$DatabasePort = getenv( 'ROSARIODB_PORT_5432_TCP_PORT' ); + + +/** + * Paths + */ + +/** + * Full path to the PostrgeSQL database dump utility for this server + * + * @example /usr/bin/pg_dump + * @example C:/Progra~1/PostgreSQL/bin/pg_dump.exe + */ +$pg_dumpPath = '/usr/bin/pg_dump'; + +/** + * Full path to wkhtmltopdf binary file + * + * An empty string means wkhtmltopdf will not be called + * and reports will be rendered in HTML instead of PDF + * + * @link http://wkhtmltopdf.org + * + * @example /usr/local/bin/wkhtmltopdf + * @example C:/Progra~1/wkhtmltopdf/bin/wkhtmltopdf.exe + */ +$wkhtmltopdfPath = '/usr/local/bin/wkhtmltopdf'; + + +/** + * Default school year + * + * Do not change on install + * Change after rollover + * Should match the database to be able to login + */ +$DefaultSyear = '2016'; + + +/** + * Notify email address + * where to send error and new administrator notifications + * + * Leave empty to not receive email notifications + */ +$RosarioNotifyAddress = getenv( 'ROSARIOSIS_ADMIN_EMAIL' ); + + +/** + * Locales + * + * Add other languages you want to support here + * + * @see locale/ folder + * + * For American, French and Spanish: + * + * @example array( 'en_US.utf8', 'fr_FR.utf8', 'es_ES.utf8' ); + */ +$RosarioLocales = array( 'en_US.utf8' );