91 lines
1.8 KiB
PHP
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( 'POSTGRES_HOST' );
|
|
|
|
// Database username.
|
|
$DatabaseUsername = getenv( 'POSTGRES_USER' );
|
|
|
|
// Database password.
|
|
$DatabasePassword = getenv( 'POSTGRES_PASSWORD' );;
|
|
|
|
// Database name.
|
|
$DatabaseName = getenv( 'POSTGRES_DB' );;
|
|
|
|
// Database port: default is 5432.
|
|
$DatabasePort = getenv( 'POSTGRES_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/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' );
|