// 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