-
Notifications
You must be signed in to change notification settings - Fork 346
/
config.inc.sample.php
111 lines (93 loc) · 2.05 KB
/
config.inc.sample.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<?php
/**
* The base configurations of RosarioSIS
*
* You can find more information in the INSTALL.md file
*
* @package RosarioSIS
*/
/**
* Database Settings
*
* You can get this info from your web host
*/
// Database type: postgresql or mysql.
$DatabaseType = 'postgresql';
// Database server hostname: use localhost if on same server.
$DatabaseServer = 'localhost';
// Database username.
$DatabaseUsername = 'username_here';
// Database password.
$DatabasePassword = 'password_here';
// Database name.
$DatabaseName = 'database_name_here';
/**
* Paths
*/
/**
* Full path to the database dump utility for this server
*
* pg_dump for PostgreSQL
* @example /usr/bin/pg_dump
* @example C:/Progra~1/PostgreSQL/bin/pg_dump.exe
*
* mysqldump for MySQL
* @example /usr/bin/mysqldump
* @example C:/xampp/mysql/bin/mysqldump.exe
*
* mariadb-dump for MariaDB
* @example /usr/bin/mariadb-dump
*/
$DatabaseDumpPath = '';
/**
* 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 = '';
/**
* Default school year
*
* Do NOT change on install
* Change after rollover
* Should match the database to be able to login
*
* @see School > Rollover program
*/
$DefaultSyear = '2024';
/**
* Email address to receive notifications
* - new administrator account
* - new student / user account
* - new registration
*
* Leave empty to not receive email notifications
*/
$RosarioNotifyAddress = '';
/**
* Email address to receive errors
* - PHP fatal error
* - database SQL error
* - hacking attempts
*
* Leave empty to not receive errors
*/
$RosarioErrorsAddress = '';
/**
* Locales
*
* Add other languages you want to support here
*
* @see locale/ folder
*
* For American, French and Spanish:
*
* @example [ 'en_US.utf8', 'fr_FR.utf8', 'es_ES.utf8' ];
*/
$RosarioLocales = [ 'en_US.utf8' ];