docker-rosariosis/conf/config.inc.php
2019-09-22 21:49:31 +02:00

91 lines
1.8 KiB
PHP

<?php
/**
* The base configurations of RosarioSIS
*
* You can find more information in the INSTALL.md file
*
* @package RosarioSIS
*/
/**
* PostgreSQL Database Settings
*
* You can get this info from your web host
*/
// Database server hostname: use localhost if on same server.
$DatabaseServer = getenv( 'PGHOST' );
// Database username.
$DatabaseUsername = getenv( 'PGUSER' );
// Database password.
$DatabasePassword = getenv( 'PGPASSWORD' );;
// Database name.
$DatabaseName = getenv( 'PGDATABASE' );;
// Database port: default is 5432.
$DatabasePort = getenv( 'PGPORT' );
/**
* 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/bin/wkhtmltopdf';
/**
* Default school year
*
* Do not change on install
* Change after rollover
* Should match the database to be able to login
*/
$DefaultSyear = getenv( 'ROSARIOSIS_YEAR' );
/**
* Notify email address
* where to send error and new administrator notifications
*
* Leave empty to not receive email notifications
*/
$RosarioNotifyAddress = getenv( 'ROSARIOSIS_ADMIN_EMAIL' );
$RosarioErrorsAddress = 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( getenv( 'ROSARIOSIS_LANG' ).'.utf8' );