-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
config-sample.php
53 lines (47 loc) · 1.97 KB
/
config-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
<?php
/* ----------------------------------------------------------------------------
* Easy!Appointments - Online Appointment Scheduler
*
* @package EasyAppointments
* @author A.Tselegidis <[email protected]>
* @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 = 'http://localhost';
const LANGUAGE = 'english';
const DEBUG_MODE = false;
// ------------------------------------------------------------------------
// DATABASE SETTINGS
// ------------------------------------------------------------------------
const DB_HOST = 'mysql';
const DB_NAME = 'easyappointments';
const DB_USERNAME = 'user';
const DB_PASSWORD = 'password';
// ------------------------------------------------------------------------
// GOOGLE CALENDAR SYNC
// ------------------------------------------------------------------------
const GOOGLE_SYNC_FEATURE = false; // Enter TRUE or FALSE
const GOOGLE_CLIENT_ID = '';
const GOOGLE_CLIENT_SECRET = '';
}