2018-01-15 10:57:17 +03:00
|
|
|
<?php defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
|
|
* Easy!Appointments - Open Source Web Scheduler
|
|
|
|
*
|
|
|
|
* @package EasyAppointments
|
|
|
|
* @author A.Tselegidis <alextselegidis@gmail.com>
|
2018-03-27 10:23:09 +03:00
|
|
|
* @copyright Copyright (c) 2013 - 2018, 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)
|
|
|
|
{
|
|
|
|
$framework = &get_instance();
|
2018-01-15 10:57:17 +03:00
|
|
|
|
|
|
|
return $framework->config->item($key);
|
|
|
|
}
|