2015-02-23 18:22:18 +00:00
|
|
|
<?php
|
2016-06-29 20:51:54 +00:00
|
|
|
/**
|
|
|
|
* 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.
|
2017-09-22 06:08:06 +00:00
|
|
|
|
|
|
|
$DatabaseServer = getenv( 'PGHOST' );
|
2016-06-29 20:51:54 +00:00
|
|
|
|
|
|
|
// Database username.
|
2017-09-22 06:08:06 +00:00
|
|
|
$DatabaseUsername = getenv( 'PGUSER' );
|
2016-06-29 20:51:54 +00:00
|
|
|
|
|
|
|
// Database password.
|
2017-09-22 06:08:06 +00:00
|
|
|
$DatabasePassword = getenv( 'PGPASSWORD' );;
|
2016-06-29 20:51:54 +00:00
|
|
|
|
|
|
|
// Database name.
|
2017-09-22 06:08:06 +00:00
|
|
|
$DatabaseName = getenv( 'PGDATABASE' );;
|
2016-06-29 20:51:54 +00:00
|
|
|
|
|
|
|
// Database port: default is 5432.
|
2017-09-22 06:08:06 +00:00
|
|
|
$DatabasePort = getenv( 'PGPORT' );
|
2016-06-29 20:51:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 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
|
|
|
|
*/
|
2017-09-22 06:08:06 +00:00
|
|
|
$wkhtmltopdfPath = '/usr/bin/wkhtmltopdf';
|
2016-06-29 20:51:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Default school year
|
|
|
|
*
|
|
|
|
* Do not change on install
|
|
|
|
* Change after rollover
|
|
|
|
* Should match the database to be able to login
|
|
|
|
*/
|
2017-09-22 06:08:06 +00:00
|
|
|
$DefaultSyear = getenv( 'ROSARIOSIS_YEAR' );
|
2016-06-29 20:51:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Notify email address
|
|
|
|
* where to send error and new administrator notifications
|
|
|
|
*
|
|
|
|
* Leave empty to not receive email notifications
|
|
|
|
*/
|
|
|
|
$RosarioNotifyAddress = getenv( 'ROSARIOSIS_ADMIN_EMAIL' );
|
2019-09-22 19:49:31 +00:00
|
|
|
$RosarioErrorsAddress = getenv( 'ROSARIOSIS_ADMIN_EMAIL' );
|
2016-06-29 20:51:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 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' );
|
|
|
|
*/
|
2017-09-22 06:08:06 +00:00
|
|
|
$RosarioLocales = array( getenv( 'ROSARIOSIS_LANG' ).'.utf8' );
|