-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig-sample.php
More file actions
60 lines (52 loc) · 2.52 KB
/
config-sample.php
File metadata and controls
60 lines (52 loc) · 2.52 KB
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
<?php
/* ----------------------------------------------------------------------------
* Easy!Appointments - Online Appointment Scheduler
*
* @package EasyAppointments
* @author A.Tselegidis <alextselegidis@gmail.com>
* @copyright Copyright (c) Alex Tselegidis
* @license https://opensource.org/licenses/GPL-3.0 - GPLv3
* @link https://easyappointments.org
* @since v1.0.0
* ---------------------------------------------------------------------------- */
/**
* Easy!Appointments Configuration File
*
* Set your installation BASE_URL * without the trailing slash * and the database
* credentials in order to connect to the database. You can enable the DEBUG_MODE
* while developing the application.
*
* Set the default language by changing the LANGUAGE constant. For a full list of
* available languages look at the /application/config/config.php file.
*
* IMPORTANT:
* If you are updating from version 1.0 you will have to create a new "config.php"
* file because the old "configuration.php" is not used anymore.
*/
class Config
{
// ------------------------------------------------------------------------
// GENERAL SETTINGS
// ------------------------------------------------------------------------
const BASE_URL = 'https://easyappointments-abc994b31e34.herokuapp.com'; // Update this to your base URL
const LANGUAGE = 'english';
const DEBUG_MODE = false;
// ------------------------------------------------------------------------
// DATABASE SETTINGS
// ------------------------------------------------------------------------
// DATABASE SETTINGS
const DB_HOST = 'HEROKU_DB_HOST'; // These placeholders will be replaced
const DB_NAME = 'HEROKU_DB_NAME'; // with actual values from environment
const DB_USERNAME = 'HEROKU_DB_USERNAME'; // variables when the app runs
const DB_PASSWORD = 'HEROKU_DB_PASSWORD';
// const DB_HOST = 'sql101.infinityfree.com'; // Change to your database host, e.g., 'localhost'
// const DB_NAME = 'if0_37407902_easyappointments '; // Database name you created
// const DB_USERNAME = 'if0_37407902'; // Your database username
// const DB_PASSWORD = '2X3egefiQeMfZC'; // Your database password
// ------------------------------------------------------------------------
// GOOGLE CALENDAR SYNC
// ------------------------------------------------------------------------
const GOOGLE_SYNC_FEATURE = false; // Enter TRUE or FALSE
const GOOGLE_CLIENT_ID = '';
const GOOGLE_CLIENT_SECRET = '';
}