-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.php
61 lines (45 loc) · 2.53 KB
/
config.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
<?php
//Lang to i18n
define('LANG', 'pt_BR');
define('TIMEZONE','America/Sao_Paulo');
require_once('i18n.php');
### IF YOU ARE GOING TO USE THE CHARACTER ' IN ANY OF THE OPTIONS, ESCAPE IT LIKE THIS: \' ###
// MySQL details
define('global_mysql_server', 'localhost');
define('global_mysql_user', 'root');
define('global_mysql_password', '1234');
define('global_mysql_database', 'phpMyReservation');
// Salt for password encryption. Changing it is recommended. Use 9 random characters
// This MUST be 9 characters, and must NOT be changed after users have been created
define('global_salt', 'k4i8pa2m5');
// Days to remember login (if the user chooses to remember it)
define('global_remember_login_days', '180');
// Title. Used in page title and header
define('global_title', __('Tennis court reservation'));
// Organization. Used in page title and header, and as sender name in reservation reminder emails
define('global_organization', __('Local tennis club'));
// Secret code. Can be used to only allow certain people to create a user
// Set to '0' to disable
define('global_secret_code', '1234');
// Email address to webmaster. Shown to users that want to know the secret code
// To avoid spamming, JavaScript & Base64 is used to show email addresses when not logged in
define('global_webmaster_email', '[email protected]');
// Set to '1' to enable reservation reminders. Adds an option in the control panel
// Check out the wiki for instructions on how to make it work
define('global_reservation_reminders', '0');
// Reservation reminders are sent from this email
// Should be an email address that you own, and that is handled by your web host provider
define('global_reservation_reminders_email', '[email protected]');
// Code to run the reservation reminders script over HTTP
// If reservation reminders are enabled, this MUST be changed. Check out the wiki for more information
define('global_reservation_reminders_code', '1234');
// Full URL to web site. Used in reservation reminder emails
define('global_url', 'http://localhost/phpmyreservation/');
// Currency (short format). Price per reservation can be changed in the control panel
// Currency should not be changed after reservations have been made (of obvious reasons)
define('global_currency', '€');
// How many weeks forward in time to allow reservations
define('global_weeks_forward', '2');
// Possible reservation times. Use the same syntax as below (TimeFrom-TimeTo)
$global_times = array('09-10', '10-11', '11-12', '12-13', '13-14', '14-15', '15-16', '16-17', '17-18', '18-19', '19-20', '20-21');
?>