This repository has been archived by the owner on Nov 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f650dbf
commit 32dbd4a
Showing
3 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<?php | ||
/* ---------------------------------------------------------------------------- | ||
* Easy!Appointments - Open Source Web Scheduler | ||
* | ||
* @package EasyAppointments | ||
* @author A.Tselegidis <[email protected]> | ||
* @copyright Copyright (c) 2013 - 2020, Alex Tselegidis | ||
* @license http://opensource.org/licenses/GPL-3.0 - GPLv3 | ||
* @link http://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. | ||
*/ | ||
$baseUrl = getenv('BASE_URL'); | ||
$dbHost = getenv('DB_HOST'); | ||
$dbName = getenv('DB_NAME'); | ||
$dbUsername = getenv('DB_USERNAME'); | ||
$dbPassword = getenv('DB_PASSWORD'); | ||
|
||
eval(<<<PHP | ||
class Config { | ||
// ------------------------------------------------------------------------ | ||
// GENERAL SETTINGS | ||
// ------------------------------------------------------------------------ | ||
const BASE_URL = '$baseUrl'; | ||
const LANGUAGE = 'french'; | ||
const DEBUG_MODE = FALSE; | ||
// ------------------------------------------------------------------------ | ||
// DATABASE SETTINGS | ||
// ------------------------------------------------------------------------ | ||
const DB_HOST = '$dbHost'; | ||
const DB_NAME = '$dbName'; | ||
const DB_USERNAME = '$dbUsername'; | ||
const DB_PASSWORD = '$dbPassword'; | ||
// ------------------------------------------------------------------------ | ||
// GOOGLE CALENDAR SYNC | ||
// ------------------------------------------------------------------------ | ||
const GOOGLE_SYNC_FEATURE = FALSE; // Enter TRUE or FALSE | ||
const GOOGLE_PRODUCT_NAME = ''; | ||
const GOOGLE_CLIENT_ID = ''; | ||
const GOOGLE_CLIENT_SECRET = ''; | ||
const GOOGLE_API_KEY = ''; | ||
} | ||
/* End of file config.php */ | ||
/* Location: ./config.php */ | ||
PHP | ||
); |