MaketRandevu/config-sample.php

56 lines
2.1 KiB
PHP
Raw Permalink Normal View History

<?php
/* ----------------------------------------------------------------------------
2022-01-18 15:05:42 +03:00
* Easy!Appointments - Online Appointment Scheduler
*
* @package EasyAppointments
* @author A.Tselegidis <alextselegidis@gmail.com>
2021-12-18 19:43:45 +03:00
* @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 {
2016-10-16 21:35:26 +03:00
// ------------------------------------------------------------------------
2016-10-16 21:35:26 +03:00
// GENERAL SETTINGS
// ------------------------------------------------------------------------
2016-10-16 21:35:26 +03:00
const BASE_URL = 'http://url-to-easyappointments-directory';
const LANGUAGE = 'english';
const DEBUG_MODE = FALSE;
// ------------------------------------------------------------------------
2016-10-16 21:35:26 +03:00
// DATABASE SETTINGS
// ------------------------------------------------------------------------
2016-10-16 21:35:26 +03:00
const DB_HOST = 'localhost';
const DB_NAME = 'easyappointments';
const DB_USERNAME = 'root';
const DB_PASSWORD = 'root';
// ------------------------------------------------------------------------
2016-10-16 21:35:26 +03:00
// GOOGLE CALENDAR SYNC
// ------------------------------------------------------------------------
2016-10-16 21:35:26 +03:00
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 = '';
}