*
* @author Roland Haeder <webmaster@shipsimu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
*
// Init empty UUID
$uuid = '';
- // Is the UUID extension loaded? (see pecl)
- if ((extension_loaded('uuid')) && (function_exists('uuid_create'))) {
+ // Is the UUID extension loaded and enabled? (see pecl)
+ if ($this->getConfigInstance()->getConfigEntry('extension_uuid_loaded') === TRUE) {
// Then add it as well
$uuid = uuid_create();
} // END - if