2020-04-22 22:48:56 +03:00
|
|
|
<?php defined('BASEPATH') or exit('No direct script access allowed');
|
2018-01-15 10:57:17 +03:00
|
|
|
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
|
|
* Easy!Appointments - Open Source Web Scheduler
|
|
|
|
*
|
|
|
|
* @package EasyAppointments
|
|
|
|
* @author A.Tselegidis <alextselegidis@gmail.com>
|
2020-03-11 12:10:59 +03:00
|
|
|
* @copyright Copyright (c) 2013 - 2020, Alex Tselegidis
|
2018-01-15 10:57:17 +03:00
|
|
|
* @license http://opensource.org/licenses/GPL-3.0 - GPLv3
|
|
|
|
* @link http://easyappointments.org
|
|
|
|
* @since v1.3.0
|
|
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Quickly fetch the value of a framework configuration.
|
|
|
|
*
|
|
|
|
* @param string $key Configuration key.
|
|
|
|
*
|
|
|
|
* @return mixed Returns the configuration value.
|
|
|
|
*/
|
2018-01-23 12:08:37 +03:00
|
|
|
function config($key)
|
|
|
|
{
|
2020-12-02 23:10:11 +03:00
|
|
|
$CI = &get_instance();
|
2018-01-15 10:57:17 +03:00
|
|
|
|
2020-12-02 23:10:11 +03:00
|
|
|
return $CI->config->item($key);
|
2018-01-15 10:57:17 +03:00
|
|
|
}
|